[grilo-plugins/wip/mschraal/tracker3-publication-date-fix] tracker3: Fix PUBLICATION_DATE writeback




commit 43ab492b76eeaaa382f08e0156d76fbfa2c02a8a
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Sep 5 18:18:04 2020 +0200

    tracker3: Fix PUBLICATION_DATE writeback
    
    be263953d7 introduced the use of the PUBLICATION_DATE key. The sparql
    variable name for writeback however should be publicationDate to work.
    
    Related: !90

 src/tracker3/grl-tracker-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker3/grl-tracker-utils.c b/src/tracker3/grl-tracker-utils.c
index fc83a864..98b27af8 100644
--- a/src/tracker3/grl-tracker-utils.c
+++ b/src/tracker3/grl-tracker-utils.c
@@ -356,7 +356,7 @@ grl_tracker_setup_key_mappings (void)
                                   set_date);
 
   insert_key_mapping_with_setter (GRL_METADATA_KEY_PUBLICATION_DATE,
-                                  "creationDate",
+                                  "publicationDate",
                                   "nie:contentCreated(?urn)",
                                   GRL_TYPE_FILTER_ALL,
                                   set_date);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]