[tracker] cli: Fix invalid SPARQL generated by `tracker tag --list`



commit cc71d5847557f0fee2a403873a67319ee4893e1b
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun May 13 17:54:00 2018 +0200

    cli: Fix invalid SPARQL generated by `tracker tag --list`
    
    This was causing the command to fail.

 src/tracker/tracker-tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker/tracker-tag.c b/src/tracker/tracker-tag.c
index a7160f4..78c5110 100644
--- a/src/tracker/tracker-tag.c
+++ b/src/tracker/tracker-tag.c
@@ -488,7 +488,7 @@ get_all_tags (TrackerSparqlConnection *connection,
         * logical OR for FILTER, well, tags can't have
         * multiple labels is the simple answer.
         */
-       query = g_strdup_printf ("SELECT ?tag ?label nao:description(?tag) COUNT(?urns) AS urns "
+       query = g_strdup_printf ("SELECT ?tag ?label nao:description(?tag) COUNT(?urns) "
                                 "WHERE {"
                                 "  ?tag a nao:Tag ;"
                                 "  nao:prefLabel ?label ."


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