[grilo-plugins/tracker-notification: 4/10] tracker: make searches matches user expectations



commit 04db03c1073d5f06abc80c564bc2b37803466d71
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date:   Mon Feb 14 11:09:07 2011 +0000

    tracker: make searches matches user expectations
    
    Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>

 src/tracker/grl-tracker-api.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker/grl-tracker-api.c b/src/tracker/grl-tracker-api.c
index 8d9a19c..bb716ea 100644
--- a/src/tracker/grl-tracker-api.c
+++ b/src/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)) "   \



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