After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684393 - search-engine-tracker: don't include current directory in results
search-engine-tracker: don't include current directory in results
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File Search Interface
unspecified
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 684614 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-09-19 18:05 UTC by Cosimo Cecchi
Modified: 2012-09-22 15:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
search-engine-tracker: don't include current directory in results (1.16 KB, patch)
2012-09-19 18:05 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2012-09-19 18:05:22 UTC
If you search in a directory for a string that is in the directory name, the directory itself will appear in the results; patch attached.
Comment 1 Cosimo Cecchi 2012-09-19 18:05:23 UTC
Created attachment 224773 [details] [review]
search-engine-tracker: don't include current directory in results

Use tracker:uri-is-descendant instead of fn:starts-with to match the
location path, so that the current directory itself is discarded from
the results.
Comment 2 Cosimo Cecchi 2012-09-19 19:51:47 UTC
Comment on attachment 224773 [details] [review]
search-engine-tracker: don't include current directory in results

Removing from the unreviewed patch queue
Comment 3 Cosimo Cecchi 2012-09-22 13:50:42 UTC
*** Bug 684614 has been marked as a duplicate of this bug. ***
Comment 4 Cosimo Cecchi 2012-09-22 13:51:34 UTC
This is also needed to workaround bug 666749 in the Nautilus tracker search engine, so I am going to request a freeze break request to get it into 3.6.0.
Comment 5 Cosimo Cecchi 2012-09-22 15:47:09 UTC
Attachment 224773 [details] pushed as d333d1b - search-engine-tracker: don't include current directory in results

Pushed to master after r-t approval.