diff --git a/routers/web/admin/ips.go b/routers/web/admin/ips.go index af432b1704..c16724c46c 100644 --- a/routers/web/admin/ips.go +++ b/routers/web/admin/ips.go @@ -103,7 +103,6 @@ func IPs(ctx *context.Context) { orderBy = "user.lower_name DESC, user.id DESC" default: ctx.Data["SortType"] = "ip" - sortType = "ip" orderBy = "user_setting.setting_value ASC, user.id ASC" }