You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sort order: numbers come before letters when they should come afterwards 2019 is displayed before v2019 even though v2019 is classified as newer by the autoupdater (same goes for v2023.2 for example)
I just ran across another case:
someone build their own firmware and gave it GLUON_RELEASE v2023.2.x. Both opkg as well as meshviewer classify this as newer than v2023.2.1-1
root@ffac-test-7360v2:~# opkg compare-versions "v2023.2.1-1" '>>' "v2023.2.x"
root@ffac-test-7360v2:~# echo $?
1
``
So there are actually cases where the current code sorts correctly. I guess, it depends on where the letter is?
A letter at the beginning of a version number is considered older by meshviewer. While its considered newer when its in the middle.
Expected Behavior
Firmware-Version is sorted newest to oldest
Current Behavior
sort order: numbers come before letters when they should come afterwards
2019
is displayed beforev2019
even thoughv2019
is classified as newer by the autoupdater (same goes for v2023.2 for example)Steps to Reproduce
open https://map.aachen.freifunk.net/ and head to the statistics tab to view the firmware version column.
The text was updated successfully, but these errors were encountered: