Skip to content

WIP: Re-enable ability to change sorting in search result lists

Ignacy Kuchciński requested to merge ignapk/nautilus:sorting into master

Currently, it's not possible to change sorting in search results from the default "search relevance".

When searching for a file users sometimes have problems with locating it in long lists of search results, and have no way of improving this situation manually.

To fix that, re-enable sorting in search result lists via the view menu options.

This merge request is a draft implementation of #374 (comment 726650) and does the following:

  • shows sorting options in view menu for list view like they are currently available for the grid view
  • adds "search relevance" to sorting option in the view menu that shows only in search, just like the "last trashed" is available only in trash
  • re-enables ability to change sorting options in search by showing the sorting options in view menu for both list and grid views

Screenshot:Screenshot_from_2020-07-29_22-30-43

Fixes: #374 (closed)

Merge request reports