Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Files Files
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 397
    • Issues 397
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 60
    • Merge requests 60
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • FilesFiles
  • Merge requests
  • !577

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

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Ignacy Kuchciński requested to merge ignapk/nautilus:sorting into master Jul 29, 2020
  • Overview 2
  • Commits 3
  • Pipelines 2
  • Changes 5

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)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: sorting