[gnome-photos/wip/rishi/de-dup: 6/9] Query nie:links
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/de-dup: 6/9] Query nie:links
- Date: Tue, 6 Sep 2016 18:48:01 +0000 (UTC)
commit 1658587a528ad47e888859683b9e8336cee9ad8c
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Sep 6 19:38:03 2016 +0200
Query nie:links
src/photos-query-builder.c | 1 +
src/photos-query.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-query-builder.c b/src/photos-query-builder.c
index 5b84b54..5f6e648 100644
--- a/src/photos-query-builder.c
+++ b/src/photos-query-builder.c
@@ -177,6 +177,7 @@ photos_query_builder_query (PhotosSearchContextState *state,
"nao:identifier (?urn) "
"rdf:type (?urn) "
"nie:dataSource(?urn) "
+ "nie:links (?urn) "
"( EXISTS { ?urn nao:hasTag nao:predefined-tag-favorite } ) "
"( EXISTS { ?urn nco:contributor ?contributor FILTER ( ?contributor != ?creator ) }
) "
"tracker:coalesce(nfo:fileCreated (?urn), nie:contentCreated (?urn)) "
diff --git a/src/photos-query.h b/src/photos-query.h
index 3c2135a..3b97c62 100644
--- a/src/photos-query.h
+++ b/src/photos-query.h
@@ -45,6 +45,7 @@ typedef enum
PHOTOS_QUERY_COLUMNS_IDENTIFIER,
PHOTOS_QUERY_COLUMNS_RDF_TYPE,
PHOTOS_QUERY_COLUMNS_RESOURCE_URN,
+ PHOTOS_QUERY_COLUMNS_LINKS,
PHOTOS_QUERY_COLUMNS_RESOURCE_FAVORITE,
PHOTOS_QUERY_COLUMNS_RESOURCE_SHARED,
PHOTOS_QUERY_COLUMNS_DATE_CREATED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]