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 699629 - "Sort folders before files" clashes with ranking
"Sort folders before files" clashes with ranking
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File Search Interface
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-03 20:43 UTC by António Fernandes
Modified: 2017-11-03 16:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description António Fernandes 2013-05-03 20:43:37 UTC
Steps to reproduce:

Let there be a directory "~/test/foo/bar" and a file "~/test/bar"

Enable "Sort folders before files" in the Preferences

Go to directory ~/test, and perform a search for "bar".

     Actual result:

The top result is the directory "~/test/foo/bar".

     Expected result:

The top result should be the file "~/test/bar", because it's a result from the current directory.

I think the preference "Sort folders before files" should be ignored on search results.

Originally reported on https://bugzilla.gnome.org/show_bug.cgi?id=691978#c2
Comment 1 António Fernandes 2017-11-03 16:33:24 UTC
This was fixed by this merge commit 04ab4cbe0681c225d1ea2965bde8565ccfab90fa