Default sort order in Tags list is different from selected one
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
When going to the tags list for a particular project it will show a "Oldest Updated" list of tags.
But in the dropdown next to the search bar "Updated date"
Clicking on "Updated date" will add the query parameter ?sort=updated_descto the URL which fixes the problem.
Steps to reproduce
- Goto the current Gitlab website, version 14.8.0-pre
- Goto a project tags list.
- See the a "oldest first" tag list.
- Click on the sort order dropdown on "Updated date"
- The sort order changes to the correct one.
Example Project
Here is a test project that describes the problem. Test project
Version
This does happen on the current gitlab.com website with version 14.8.0-pre 97d6e07c This does not happen on 14.7.1-ee
What is the current bug behavior?
The tags are shown in a "Oldest updated" order when "Updated date" is selected.
What is the expected correct behavior?
The tags are show in "Updated date" order when "Updated date" is selected
Relevant logs and/or screenshots
None
Output of checks
This bug happens on Gitlab.com
Possible fixes
Set the default sort order to updated_desc or change the default selected dropdown