[gnome-photos] Exif extracted 'contentCreated' value will always be more relevant



commit 66bdd41ade8231e339d1a6cca339c6b12ff2c4f9
Author: Cédric Bellegarde <cedric bellegarde adishatz org>
Date:   Thu May 6 13:28:55 2021 +0200

    Exif extracted 'contentCreated' value will always be more relevant
    
    File creation time may have been loosened by file transfer

 src/photos-query-builder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/photos-query-builder.c b/src/photos-query-builder.c
index 575d829f..4a24100d 100644
--- a/src/photos-query-builder.c
+++ b/src/photos-query-builder.c
@@ -101,7 +101,7 @@ photos_query_builder_query (PhotosSearchContextState *state,
       "rdf:type (?urn) AS ?type "
       "nie:dataSource(?urn) AS ?datasource "
       "( EXISTS { ?urn nco:contributor ?contributor FILTER ( ?contributor != ?creator ) } ) AS 
?has_contributor "
-      "tracker:coalesce(nfo:fileCreated (?file), nie:contentCreated (?urn)) AS ?ctime "
+      "tracker:coalesce(nie:contentCreated (?urn), nfo:fileCreated (?file)) AS ?ctime "
       "nfo:width (?urn) AS ?width "
       "nfo:height (?urn) AS ?height "
       "nfo:equipment (?urn) AS ?equipment "


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