[nautilus] shell-search-provider: enable recursive search on indexed engines



commit 002d6513eeffe04dad7b5ac7b7abb173d5c21aba
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Wed Jun 6 01:54:17 2018 +0200

    shell-search-provider: enable recursive search on indexed engines
    
    Allow to retrieve results from search engines which are only searching on
    over indexed results (tracker, recent in future), while disable them otherwise
    (simple search)

 src/nautilus-shell-search-provider.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-shell-search-provider.c b/src/nautilus-shell-search-provider.c
index 56e26e431..bd97345d4 100644
--- a/src/nautilus-shell-search-provider.c
+++ b/src/nautilus-shell-search-provider.c
@@ -451,6 +451,7 @@ execute_search (NautilusShellSearchProvider  *self,
 
     query = nautilus_query_new ();
     nautilus_query_set_show_hidden_files (query, FALSE);
+    nautilus_query_set_recursive (query, NAUTILUS_QUERY_RECURSIVE_INDEXED_ONLY);
     nautilus_query_set_text (query, terms_joined);
     nautilus_query_set_location (query, home);
 


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