[Bug 42232] New: Sort version list by version number
https://bugs.winehq.org/show_bug.cgi?id=42232 Bug ID: 42232 Summary: Sort version list by version number Product: WineHQ Apps Database Version: unspecified Hardware: x86 URL: https://appdb.winehq.org/objectManager.php?sClass=appl ication&iId=13986 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: appdb-unknown Assignee: wine-bugs(a)winehq.org Reporter: cges30901(a)gmail.com Distribution: --- Versions of LINE (Powered by Naver) is not sorted correctly. Version 4.10.x.x and 4.11.x.x is not at the bottom of the list. I guess this is because '1' in 10 is less than '3'? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42232 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya(a)gmail.com --- Comment #1 from Robert Walker <bob.mt.wya(a)gmail.com> --- Yeah, one of the applications I maintain (DVDFab) has now reached 10.x. This version gets put before the other versions (3-9). See: https://appdb.winehq.org/objectManager.php?sClass=application&iId=4356 I've already had a user submitting a duplicate version 10 today - for DVDFab... Presumably because the version ordering is very counter-intuitive. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42232 --- Comment #2 from Rosanne DiMesio <dimesio(a)earthlink.net> --- There's really no way to fix this globally because version numbering schemes are not consistent across apps, and sometimes not even consistent within apps (e.g., Microsoft Office). Plus there are the inconsistencies created by different users in the way they enter the version info in the first place. Maintainers could probably force a correct sort in many cases by adding a 0 before single-digit numbers, but then (strictly speaking) the version number would no longer be correct. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42232 faalagorn(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |faalagorn(a)gmail.com --- Comment #3 from faalagorn(a)gmail.com --- It would be nice if there would be a new functionality added, allowing to set the order of the versions manually, either visually via drag and drop or by adding a numerical ID for the versions or a hidden sort key, akin to Wikipedia's hidden sort key ( https://en.wikipedia.org/wiki/Template:Hidden_sort_key ). Alternatively another field could be added that also allows to set the date/time for each version release and then sort by that. The automated solution will always fail as there are different numbering schemes, so I wouldn't stretch myself on that. Alternatively, it would be at least nice to separate the obsolete versions out of the current ones – currently this functionality is only used for votes merging. My post about this issue here: https://forum.winehq.org/viewtopic.php?f=11&t=29709&p=112880 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42232 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shoefish(a)gmail.com --- Comment #4 from Rosanne DiMesio <dimesio(a)earthlink.net> --- *** Bug 45340 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42232 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #5 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Confirming -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42232 Ori Avtalion <ori(a)avtalion.name> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ori(a)avtalion.name -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=42232 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |axis6404(a)proton.me --- Comment #6 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- *** Bug 58118 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=42232 --- Comment #7 from axis6404(a)proton.me --- Created attachment 79022 --> http://bugs.winehq.org/attachment.cgi?id=79022 Sample of alphanum sort You can easily add an alphanum sort. How about it? I attach the html with the script adapted to the 7zip page. - Change <td> to <th> in thead. - Add the bottom few lines to the end <script src="src/jquery-table-sorter.js"></script> <script> $('.whq-table').TableSorter(); </script> https://www.jqueryscript.net/table/alphanumeric-sorting-table-sorter.html https://stackoverflow.com/questions/4340227/sort-mixed- alpha-numeric-array I improved a bug in src/jquery-table-sorter.js with stackoverflow code. Translated with DeepL.com (free version) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=42232 --- Comment #8 from axis6404(a)proton.me --- Created attachment 79023 --> http://bugs.winehq.org/attachment.cgi?id=79023 Added initialization sorting -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla