Skip to content

Commit 40b0087

Browse files
techknowlogickwxiaoguang
authored andcommitted
Update routers/web/admin/users.go
Co-authored-by: wxiaoguang <[email protected]>
1 parent 196abe2 commit 40b0087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/admin/users.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func Users(ctx *context.Context) {
5353

5454
sortType := ctx.FormString("sort")
5555
if sortType == "" {
56-
sortType = "alphabetically"
56+
sortType = explore.UserSearchDefaultAdminSort
5757
}
5858
ctx.PageData["adminUserListSearchForm"] = map[string]interface{}{
5959
"StatusFilterMap": statusFilterMap,

0 commit comments

Comments
 (0)