Skip to content

Add order criteria select box to snippets lists

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

As we have in other resources, like projects (https://gitlab.com/dashboard/projects), we can add a select box with the sort criteria we want to use to sort the snippets. We need to add this select box to every page where we list snippets like dashboard or explore.

Once the user selects a sort criteria, a sync request will be sent to the controller with the sort criteria as a param. The controller will pass the param to the SnippetsFinder that will return the snippets sorted by it.

Edited by 🤖 GitLab Bot 🤖