solus-project / solus-sc

Solus Software Center
https://getsol.us
GNU General Public License v2.0
49 stars 16 forks source link

Replacement package name causes list to not be alphabetically sorted #195

Open philipzae opened 6 years ago

philipzae commented 6 years ago

When a package is replaced by another package, the replacement package name appears at the position of the package to be replaced, which causes the alphabetic sorting of the list to be off.

This can be resolved by

  1. mentioning the package to be replaced first in the label, e.g. 'kernel-headers (replaced by linux-lts-headers)'.
  2. showing the entry in its correct alphabetic position based on the replacement package name.

I'd recommend taking option 1, as users who were looking for the package name that will be replaced will see it in the correct alphabetical position.

example