[gnome-photos/sam/tracker3: 26/27] Fix up album query




commit 5af0e04049cba30f131867e9655300476e320e48
Author: Sam Thursfield <sam afuera me uk>
Date:   Thu Aug 13 02:10:38 2020 +0200

    Fix up album query

 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 5d37efdc..b52c4870 100644
--- a/src/photos-query-builder.c
+++ b/src/photos-query-builder.c
@@ -339,7 +339,7 @@ photos_query_builder_set_collection_query (PhotosSearchContextState *state,
   if (setting)
     sparql = g_strdup_printf ("INSERT DATA { "
                               "  GRAPH tracker:Pictures {"
-                              "    <%s> a nmm:Photo ; "
+                              "    <%s> a nie:DataObject , nmm:Photo ; "
                               "      nie:isPartOf <%s> "
                               "  }"
                               "}", item_urn, collection_urn);


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