IP addresses are not in the correct order
Prerequisites
-
[x] I have checked the Wiki and Discussions and found no answer
-
[x] I have searched other issues and found no duplicates
-
[x] I want to report a bug and not ask a question or ask for help
-
[x] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, AMD64 (aka x86_64)
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
Version v1.0.0-a.83+764aa256
Action
On the Dashboard > Top Clients page. The IP addresses are not in the correct order. See screenshot:
Expected result
When sort on IP, example: 10.0.0.1 10.0.0.6 10.0.0.10 10.0.0.35 10.0.0.123 ...
Actual result
Wrong order
Additional information and/or screenshots
No response
I'm guessing that client_v2/src/components/Stats/TopClientsPage/TopClientsPage.tsx
is missing a sortFn at rules 160–172
Yes, I am seeing this as well - also in Settings > Clients when sorted by identifier
Version v1.0.0-b.1
Hello. Thank you for letting us know. You're right - the sorting by IP address is incorrect. We've forwarded this information to the developers.
The work on this issue is done, the fix will be included in one of the future versions.
Still happens on Version v1.0.0-b.2. Please look into issue closely
Surely they should be sorted numerically and not lexicographically ?
It works fine on stable as should, so it's likely broken on Beta
Still happens on
Version v1.0.0-b.2. Please look into issue closely
I'm running that version and IP sorting is fixed for me
I believe it's happening on the DHCP page
https://github.com/AdguardTeam/AdGuardHome/issues/8668#issuecomment-6667761446
@sofvaskina FYI
@Dynamic5912
Yes, in clients IP sorting is fixed while DHCP sorting still broken