[tracker-miners/wip/carlosg/cli-split: 7/23] cli: Fix invalid SPARQL generated by `tracker tag --list`
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/cli-split: 7/23] cli: Fix invalid SPARQL generated by `tracker tag --list`
- Date: Sun, 29 Dec 2019 21:49:03 +0000 (UTC)
commit 6132150593c7671fa934b290d6db3cc1b79490b4
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 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker/tracker-tag.c b/src/tracker/tracker-tag.c
index a7160f442..78c511092 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]