[tracker] TST - Fixed sparql to explicitly fetch URL



commit 9d1f5c65195074b7dd2c0a6449daa107007bce22
Author: Jamie McCracken <jamiemcc gnome org>
Date:   Wed Feb 10 23:48:09 2010 -0500

    TST - Fixed sparql to explicitly fetch URL

 src/tracker-search-tool/tracker-query.gs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-search-tool/tracker-query.gs b/src/tracker-search-tool/tracker-query.gs
index 69a2ef3..c3fcd5c 100644
--- a/src/tracker-search-tool/tracker-query.gs
+++ b/src/tracker-search-tool/tracker-query.gs
@@ -81,7 +81,7 @@ class TrackerQuery : Object
         else
             cat = Category
 
-        query = "SELECT ?s WHERE { ?s fts:match \"%s\". ?s a %s } limit 100 ".printf (SearchTerms, cat)
+        query = "SELECT ?s nie:url(?s) WHERE { ?s fts:match \"%s\". ?s a %s } limit 100 ".printf (SearchTerms, cat)
 
         // to do : add Fields, Category and SortField
         try



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