AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

IP addresses are not in the correct order

Open TheCeet opened this issue 2 months ago • 10 comments

Prerequisites

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:

Image

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

TheCeet avatar Oct 02 '26 20:10 TheCeet

I'm guessing that client_v2/src/components/Stats/TopClientsPage/TopClientsPage.tsx is missing a sortFn at rules 160–172

TheCeet avatar Oct 02 '26 21:10 TheCeet

Yes, I am seeing this as well - also in Settings > Clients when sorted by identifier

Version v1.0.0-b.1

Image

he-pennypacker avatar Oct 03 '26 01:10 he-pennypacker

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.

sofvaskina avatar Oct 05 '26 10:10 sofvaskina

The work on this issue is done, the fix will be included in one of the future versions.

adguard-bot avatar Oct 06 '26 08:10 adguard-bot

Still happens on Version v1.0.0-b.2. Please look into issue closely

dalisoft avatar Nov 05 '26 19:11 dalisoft

Surely they should be sorted numerically and not lexicographically ?

Dynamic5912 avatar Nov 05 '26 19:11 Dynamic5912

It works fine on stable as should, so it's likely broken on Beta

dalisoft avatar Nov 05 '26 19:11 dalisoft

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

Image

he-pennypacker avatar Nov 08 '26 00:11 he-pennypacker

I believe it's happening on the DHCP page

https://github.com/AdguardTeam/AdGuardHome/issues/8668#issuecomment-6667761446

@sofvaskina FYI

Dynamic5912 avatar Nov 08 '26 08:11 Dynamic5912

@Dynamic5912

Yes, in clients IP sorting is fixed while DHCP sorting still broken

dalisoft avatar Nov 08 '26 08:11 dalisoft