Skip to content

Missing UI elements to control tags sort order

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

In the tags page of a project, the tags can be sorted by:

  • Name (name_asc)
  • Oldest updated (updated_asc)
  • Updated date (updated_desc)

There is no UI element that can select name_desc, even though passing ?sort=name_desc does work.

This sorting is handy in cases where the most recently updated tag isn't necessarily the highest version number (e.g. long-term support tags) and where the name sorting algorithm works sufficiently well with tags that have version numbers. A better algorithm would be to parse every group of digits within a tag name as a number and sort the tags accordingly, but that would require more work than just adding an entry to a drop-down.

Edited by 🤖 GitLab Bot 🤖