[tracker] tracker: Fixed search with -f <arg> or --files <arg>, broken expression
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker: Fixed search with -f <arg> or --files <arg>, broken expression
- Date: Fri, 31 Jul 2015 14:38:52 +0000 (UTC)
commit 2283a08ad6ed4856ad906342a67c9d7f519f5059
Author: Martyn Russell <martyn lanedo com>
Date: Fri Jul 31 15:37:53 2015 +0100
tracker: Fixed search with -f <arg> or --files <arg>, broken expression
https://bugzilla.gnome.org/show_bug.cgi?id=752871
src/tracker/tracker-search.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker/tracker-search.c b/src/tracker/tracker-search.c
index 395b694..b603026 100644
--- a/src/tracker/tracker-search.c
+++ b/src/tracker/tracker-search.c
@@ -1288,10 +1288,10 @@ get_files (TrackerSparqlConnection *connection,
fts = get_fts_string (search_terms, use_or_operator);
if (fts) {
- query = g_strdup_printf ("SELECT ?u ?url"
+ query = g_strdup_printf ("SELECT ?u ?url "
"WHERE { "
" ?u a nie:InformationElement ;"
- " ?url nie:url(?u) ;"
+ " nie:url ?url ;"
" fts:match \"%s\" ."
" %s"
"} "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]