Increased max user list to 1000 for user admin page, need to paging, but will have to wait a few days

This commit is contained in:
Torkel Ödegaard 2015-02-23 11:30:58 +01:00
parent 12e28c1895
commit 138e720695

View File

@ -9,7 +9,7 @@ import (
)
func AdminSearchUsers(c *middleware.Context) {
query := m.SearchUsersQuery{Query: "", Page: 0, Limit: 20}
query := m.SearchUsersQuery{Query: "", Page: 0, Limit: 1000}
if err := bus.Dispatch(&query); err != nil {
c.JsonApiErr(500, "Failed to fetch users", err)
return