Project

General

Profile

Actions

Bug #15180

closed

Web UI sort order not maintained after auto refresh

Added by James Garrison 10 months ago. Updated 10 months ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.2
Affected Architecture:

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

Snag_354cb9be.png (49.5 KB) Snag_354cb9be.png James Garrison, 01/21/2024 05:54 PM
Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

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?

Actions

Also available in: Atom PDF