[GH-ISSUE #3086] Wrong sort on ressource filter (http log) - maybe other locations as well? #35730

Closed
opened 2026-06-18 20:57:18 -05:00 by GiteaMirror · 4 comments
Owner

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, test would be A, B, Test, a, b, test - I personally would prefer a case insensitive sort order but its not my software.

Image

But the sorting in the filterdropdown looks like this:

Image

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

  • OS Type & Version: Debian 13
  • Pangolin Version: 1.18.4

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.

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, test` would be `A, B, Test, a, b, test` - I personally would prefer a case insensitive sort order but its not my software. <img width="450" height="1397" alt="Image" src="https://github.com/user-attachments/assets/8f2c6b41-676f-48b3-b83d-30c3e4441bd3" /> But the sorting in the filterdropdown looks like this: <img width="261" height="386" alt="Image" src="https://github.com/user-attachments/assets/6aa354e8-9d9b-459d-b9c7-360fa2bb366b" /> 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 - OS Type & Version: Debian 13 - Pangolin Version: 1.18.4 ### 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.
Author
Owner

@AstralDestiny commented on GitHub (May 15, 2026):

I mean you could technically do 1. 2. 3. etc and it will force sort them.. but

<!-- gh-comment-id:4463712433 --> @AstralDestiny commented on GitHub (May 15, 2026): I mean you could technically do 1. 2. 3. etc and it will force sort them.. but
Author
Owner

@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 than 2..

<!-- gh-comment-id:4463730634 --> @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 than `2.`.
Author
Owner

@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?

<!-- gh-comment-id:4464047111 --> @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?
Author
Owner

@NecktiedHummingbird commented on GitHub (May 16, 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?

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)

<!-- gh-comment-id:4467043816 --> @NecktiedHummingbird commented on GitHub (May 16, 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? 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)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#35730