Current alphabetical sort order for Ubuntu codenames is unhelpful

Bug #1923378 reported by Mingye Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Simone Pelosi

Bug Description

Launchpad itself currently sorts list of Ubuntu versions, such as the Ubiquity translations list at [1], in an alphabetical order. However, since the codenames have already gone through a whole A-Z cycle, this gives the very unhelpful result of "...ubiquity in Ubuntu Feisty , ubiquity in Ubuntu Focal , ubiquity in Ubuntu Groovy , ubiquity in Ubuntu Gutsy , ubiquity in Ubuntu Hardy , ubiquity in Ubuntu Hirsute". It would be much more helpful to sort these by the actual dates of release.

  [1]: https://archive.fo/2021.04.11-211225/https://translations.launchpad.net/ubiquity

I decided to report this for Launchpad itself as it would understandably be less nice-looking to replace the codenames with the release numbers in some sort of release info. A better solution probably then requires a change in launchpad, in the form of a "sort key" for each release.

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :

We do use an appropriate sort key in several other places, but I agree that it's lacking here (`Product.translatable_packages`). Should just be a matter of using `Version(p.distroseries.version)` rather than `p.distroseries.name`, similar to `Distribution.series`, although I think we might also want to switch to listing the series in descending order.

tags: added: confusing-ui lp-translations trivial
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
summary: - Current alphabetical sort order for Ubuntu codenamesis unhelpful
+ Current alphabetical sort order for Ubuntu codenames is unhelpful
Guruprasad (lgp171188)
Changed in launchpad:
assignee: nobody → Simone Pelosi (pelpsi)
status: Triaged → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.