[PATCH 04/17] tracker: make searches matches user expectations



From: Lionel Landwerlin <lionel g landwerlin linux intel com>

Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
 src/media/tracker/grl-tracker-api.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/media/tracker/grl-tracker-api.c b/src/media/tracker/grl-tracker-api.c
index 8d9a19c..bb716ea 100644
--- a/src/media/tracker/grl-tracker-api.c
+++ b/src/media/tracker/grl-tracker-api.c
@@ -50,7 +50,7 @@ GRL_LOG_DOMAIN_STATIC(tracker_request_log_domain);
   "{ "                                           \
   "?urn a nfo:Media . "                          \
   "?urn tracker:available ?tr . "                \
-  "?urn fts:match '%s' . "                       \
+  "?urn fts:match '*%s*' . "                     \
   "%s "                                          \
   "} "                                           \
   "ORDER BY DESC(nfo:fileLastModified(?urn)) "   \
-- 
1.7.4.1



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