[GH-ISSUE #767] Sites overview Data In/Data Out does not sort correctly #6414

Closed
opened 2026-04-25 15:17:18 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @thijsvanloef on GitHub (May 22, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/767

Hello, this is my first issue here, so please let me know if you need any more information.

Issue

Data Out and Data In sorting option in the "Manage Sites" tab does not actually seem to be sorting on most data in/out based on total number of bytes, but on the higher number.

Behaviour

Sorted from smallest to largest "Data Out" :
Image

Sorted from largest to smallest "Data Out":
Image

Expected behaviour

I expect it to sort correctly based on the total number of bytes (taking into account GB/MB conversion) instead of the value of the number.

System information:

OS: Ubuntu 24.04.2
Installation: Docker
Pangolin Version: 1.4.0
Treafik Version: 3.3.6
Gerbil Version: 1.0.0
Crowdsec Version: v1.6.8-f209766e

Originally created by @thijsvanloef on GitHub (May 22, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/767 Hello, this is my first issue here, so please let me know if you need any more information. ## Issue Data Out and Data In sorting option in the "Manage Sites" tab does not actually seem to be sorting on most data in/out based on total number of bytes, but on the higher number. ## Behaviour Sorted from smallest to largest "Data Out" : ![Image](https://github.com/user-attachments/assets/b22b8aae-0d92-4062-8762-ca4d7db91be1) Sorted from largest to smallest "Data Out": ![Image](https://github.com/user-attachments/assets/ec42abf9-3796-40a9-980a-a4845816f2d2) ## Expected behaviour I expect it to sort correctly based on the total number of bytes (taking into account GB/MB conversion) instead of the value of the number. ## System information: OS: Ubuntu 24.04.2 Installation: Docker Pangolin Version: 1.4.0 Treafik Version: 3.3.6 Gerbil Version: 1.0.0 Crowdsec Version: v1.6.8-f209766e
GiteaMirror added the good first issuenon-critical bughelp wanted labels 2026-04-25 15:17:18 -05:00
Author
Owner

@oschwartz10612 commented on GitHub (May 24, 2025):

Hi! Yep that is a bug. If someone wants to jump in and fix this should be pretty easy. If not we can tackle it sometime soon.

<!-- gh-comment-id:2906353186 --> @oschwartz10612 commented on GitHub (May 24, 2025): Hi! Yep that is a bug. If someone wants to jump in and fix this should be pretty easy. If not we can tackle it sometime soon.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#6414