Sorting by hostname broken in Omada Controller

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Sorting by hostname broken in Omada Controller

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Sorting by hostname broken in Omada Controller
Sorting by hostname broken in Omada Controller
2020-04-30 16:41:37 - last edited 2020-05-08 11:58:06
Model: OC200  
Hardware Version:
Firmware Version: 3.2.6

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?

  0      
  0      
#1
Options
7 Reply
Re:Sorting by hostname broken in Omada Controller
2020-04-30 17:09:33
Updated to 3.2.10 and the issue persists.
  0  
  0  
#2
Options
Re:Sorting by hostname broken in Omada Controller
2020-04-30 19:06:03 - last edited 2020-04-30 19:07:03

@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).

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#3
Options
Re:Sorting by hostname broken in Omada Controller
2020-04-30 19:29:08
That does not change the behavior for me.
  0  
  0  
#4
Options
Re:Sorting by hostname broken in Omada Controller
2020-04-30 20:31:22 - last edited 2020-04-30 20:33:31

@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.

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#5
Options
Re:Sorting by hostname broken in Omada Controller
2020-05-01 11:38:03

@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?

  0  
  0  
#6
Options
Re:Sorting by hostname broken in Omada Controller
2020-05-01 12:09:58 - last edited 2020-05-08 11:58:06

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.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#7
Options
Re:Sorting by hostname broken in Omada Controller
2020-05-08 12:01:48

@R1D2 

 

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.yes

  1  
  1  
#8
Options

Information

Helpful: 0

Views: 1499

Replies: 7

Related Articles