[rygel] tracker3: Switch to STRSTARTS for folder checks



commit 93bbfa082f7f14c0ab79ce14b75a2d7b5464dc08
Author: Jens Georg <mail jensge org>
Date:   Sun Jun 7 11:26:49 2020 +0200

    tracker3: Switch to STRSTARTS for folder checks

 src/plugins/tracker3/rygel-tracker-selection-query.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/tracker3/rygel-tracker-selection-query.vala 
b/src/plugins/tracker3/rygel-tracker-selection-query.vala
index 00f28fcb..31f079a3 100644
--- a/src/plugins/tracker3/rygel-tracker-selection-query.vala
+++ b/src/plugins/tracker3/rygel-tracker-selection-query.vala
@@ -122,8 +122,8 @@ public class Rygel.Tracker.SelectionQuery : Query {
                     continue;
                 }
 
-                uri_filters += "tracker:uri-is-descendant(\"%s\", nie:url(%s))".printf
-                                (file.get_uri (), STORAGE_VARIABLE);
+                uri_filters += "STRSTARTS(nie:url(%s), \"%s\")".printf
+                                (STORAGE_VARIABLE, file.get_uri ());
             }
         }
 


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