Bug #15180
closed
Web UI sort order not maintained after auto refresh
Added by James Garrison 10 months ago.
Updated 10 months ago.
Description
When I select a sort column in any display that refreshes, the sort order reverts to the default when the display refreshes, even though the sort indicator still identifies the column I selected.
Here's an example in the Diagnostics/Routes page. I selected to sort by Gateway, but after one refresh it reverts to sorting by address while leaving the sort indicator on the Gateway column.
Files
I can confirm the same issue on pf Plus version 23.09.1, so effects both CE and Plus.
Can confirm in 23.09.1
Seems to happen with any table that automatically updates, the table updates with the default filter instead of the selected filter.
- Status changed from New to Not a Bug
The table sorting is all client side in JavaScript and it has no persistence. There is no way for it to remember anything so it resets on refresh, that's just how that sorting library works.
Jim Pingle wrote in #note-3:
The table sorting is all client side in JavaScript and it has no persistence. There is no way for it to remember anything so it resets on refresh, that's just how that sorting library works.
I respectfully disagree. The fact that the sort marker in the header persists indicates that this is a bug in whatever JS library you are using.
If you insist on closing this, how do I submit it as an enhancement request?
Also available in: Atom
PDF