openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[feature] New sortable fields in device list

Open tricksol opened this issue 2 years ago • 3 comments

It would be very nice to have "Config Status" and "IP address" as sortable fields.

tricksol avatar May 31 '23 18:05 tricksol

For “Config Status”, since it’s a choice field, we can assign a key to each choice and sort based on those keys. For “IP address”, we can sort numerically rather than lexicographically to maintain the correct order (e.g., 192.168.1.100 should come after 192.168.1.2). Could you please confirm if this approach aligns with your requirements or if there is anything in particular required?

DragnEmperor avatar Mar 14 '25 16:03 DragnEmperor

Yes that would work, I'm not sure if this has been done yet but if the ip address could be a click able field to open a new browser tab would be helpful for my case as well.

tricksol avatar Mar 14 '25 18:03 tricksol

Okay Cool!

DragnEmperor avatar Mar 15 '25 05:03 DragnEmperor