Bug #15180
closedWeb UI sort order not maintained after auto refresh
0%
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
Updated by Ethan Word 10 months ago
I can confirm the same issue on pf Plus version 23.09.1, so effects both CE and Plus.
Updated by dylan mendez 10 months ago
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.
Updated by Jim Pingle 10 months ago
- 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.
Updated by James Garrison 10 months ago
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?