3x-ui/internal/database/model
mrchatam 51e0afdd90
fix(inbounds): allow negative subSortIndex for subscription order (#6465)
* fix(inbounds): allow negative subSortIndex for subscription order

Preserve explicitly set negative indices so primary inbounds can sort
ahead of the default without renumbering peers; keep 0/omitted → 1.

* fix(inbounds): gofumpt model.go and trim subSortIndex comments

---------

Co-authored-by: mrchatam <287639636+mrchatam@users.noreply.github.com>
2026-09-12 11:14:53 +02:00
..
client_global_traffic.go
host_test.go
hysteria_version_test.go
model.go fix(inbounds): allow negative subSortIndex for subscription order (#6465) 2026-09-12 11:14:53 +02:00
model_mtproto_test.go
model_shadowsocks_removed_test.go
model_test.go
model_wireguard_peers_test.go
model_wireguard_test.go feat(clients): let admins set PersistentKeepalive on tunnel clients (#6377) 2026-09-10 22:32:42 +02:00
node_client_ip.go
node_client_traffic.go