Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: efd676f2ba462efd5ca33765bbec0015355d4791
https://github.com/Checkmk/checkmk/commit/efd676f2ba462efd5ca33765bbec00153…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2023-10-11 (Wed, 11 Oct 2023)
Changed paths:
A cmk/gui/utils/sort.py
M cmk/gui/wato/pages/folders.py
A tests/unit/cmk/gui/test_sort.py
Log Message:
-----------
hosts setup: Add natural sort for hosts and folders in wato page
This change implements natural sort on folder and hosts listed in host
setup wato page. The adopted sort criteria is:
* Numbers go first
* Multiple digits next to each other count as one number. E.g. "9" "10
"11" "100"
* No case sensitivity
* Special characters come last
CMK-13531
Change-Id: I4a8cf98bd5a8635516be31c29de1ac38cac58b25