[nautilus/wip/csoriano/search-popover: 9/43] search-engine-tracker: fix thinko in the filter



commit ceb9600019930528ad134155c5f3a4faa2e9e90e
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Feb 2 13:52:46 2016 +0100

    search-engine-tracker: fix thinko in the filter
    
    We were setting the upper bound instead of the lower one.

 .../nautilus-search-engine-tracker.c               |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-search-engine-tracker.c 
b/libnautilus-private/nautilus-search-engine-tracker.c
index ec5ebdf..6aeb194 100644
--- a/libnautilus-private/nautilus-search-engine-tracker.c
+++ b/libnautilus-private/nautilus-search-engine-tracker.c
@@ -327,9 +327,9 @@ nautilus_search_engine_tracker_start (NautilusSearchProvider *provider)
                 g_string_append (sparql, " && ");
 
                 if (type == NAUTILUS_QUERY_SEARCH_TYPE_LAST_ACCESS) {
-                        g_string_append_printf (sparql, "?atime <= \"%s\"^^xsd:dateTime", dt_format);
+                        g_string_append_printf (sparql, "?atime >= \"%s\"^^xsd:dateTime", dt_format);
                 } else {
-                        g_string_append_printf (sparql, "?mtime <= \"%s\"^^xsd:dateTime", dt_format);
+                        g_string_append_printf (sparql, "?mtime >= \"%s\"^^xsd:dateTime", dt_format);
                 }
 
                 g_free (dt_format);


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