mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 22:55:14 -05:00
[GH-ISSUE #3086] Wrong sort on ressource filter (http log) - maybe other locations as well? #35730
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NecktiedHummingbird on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3086
Describe the Bug
So i noticed, that the filterdropdown for resources in the http log is not ordered as the (public) ressource view.
Public ressource view is sorted by string character value (A = 65,0x41; a = 97,0x61). So the order of
A, a, b, B, Test, testwould beA, B, Test, a, b, test- I personally would prefer a case insensitive sort order but its not my software.But the sorting in the filterdropdown looks like this:
I assume its sorted by rowresult? Maybe Id of the ressource or by order of log appearance?
Wouldn't it be better, to have the same sorting for the same entity on all places where that entity is appears?
Yeah I'm nitpicking, sorry. 😅
Environment
To Reproduce
Open http reqeust log, load data with the refresh icon, click on the filter icon on "Resource" to open the dropdown and have a non alphabetical order and not identical order to (public) resources.
Expected Behavior
Identical sorting as on public resources.
@AstralDestiny commented on GitHub (May 15, 2026):
I mean you could technically do 1. 2. 3. etc and it will force sort them.. but
@NecktiedHummingbird commented on GitHub (May 15, 2026):
What?
I have more than 10 public resources. It is a character value based sorting. So
11.is lower than2..@AstralDestiny commented on GitHub (May 15, 2026):
Ah sorry request log didn't see that part originally, Though request log should be by timestamp and not so much in order of name?
@NecktiedHummingbird commented on GitHub (May 16, 2026):
I want to have an ordered filter. Not the log ordered by resource. I want to see all http access logs from a resource and the selection drop down of this filter is in a "random" order (looks like order by (internal) resourceid to me)