Sorting by hostname broken in Omada Controller
Hi Folks,
When trying to sort by hostname in the Omada Controller (v 3.2.6) it does not properly sort by alphabetical name as expected. Often "Unknown" will be above "a" and a chunk of "a" devices will be at the bottom of the list.
Thoughts?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
@autumnwalker, the sorting order is correct, but it sorts only the hostnames visible on the page.
You can check this by showing 100 entries per page and then click once to the hostname header to sort in ascending order and a second time to sort in descending order.
Technical background: the sorting happens in Javascript and not in the server, thus it is restricted to the current page content.
I recommend to use the »Last seen« selection box to narrow down the scope to the timespan you're interested in. This will give a much better overview than listing all entries (default).
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
@autumnwalker, for me it does change the behavior:
Unknown is a NULL WiFi hostname, it's the empty string.
Then names starting with an uppercase letters follow the empty string.
Then names starting with a lowercase letters follow uppercase ones.
When reversing sort order, it's exactly the other way around.
- Copy Link
- Report Inappropriate Content
@R1D2 Ah! That's exactly what I am seeing here - the upper and lower case had thrown me off.
I had expected that alphabetical would ignore case. TP-Link, is that a desired behaviour?
- Copy Link
- Report Inappropriate Content
autumnwalker wrote
Ah! That's exactly what I am seeing here - the upper and lower case had thrown me off.
Yes, it's obviously ASCII sorting order, not lexicographical (dictionary) sorting order. You're right that this can be confusing.
jonas, please could you add this as a feature request to use lexicographical sorting order to the new Omada SDN controller?
Would make sense IMO.
- Copy Link
- Report Inappropriate Content
R1D2 wrote
autumnwalker wrote
Ah! That's exactly what I am seeing here - the upper and lower case had thrown me off.
Yes, it's obviously ASCII sorting order, not lexicographical (dictionary) sorting order. You're right that this can be confusing.
jonas, please could you add this as a feature request to use lexicographical sorting order to the new Omada SDN controller?
Would make sense IMO.
OK, will add it in the improvement suggestion list.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 1499
Replies: 7
Voters 0
No one has voted for it yet.