ffb09fb652e226f7521b89f62c3f8a010d829726
The interface list was sorted by comparing the names as plain strings, so 'eno10' and 'eno11' came before 'eno2', and 'vmbr10' before 'vmbr2'. Sort by name with a comparison that orders numbers in the names by their value instead. Use the same sorter for the initial order of the store and for the name column, so that the column header still shows the initial sort order and the first click on it reverses it, like before. The 'Ports/Slaves' column uses the type as data index, so sorting by it just sorted by type. Sort it by the shown ports or slaves instead, also in natural order. Signed-off-by: Michal Fox <me@dualfroz.com>
Description
My contributions to proxmox-git/proxmox-widget-toolkit: 6 commits
132 KiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
100%