diff options
Diffstat (limited to 'routers/web/admin/emails.go')
-rw-r--r-- | routers/web/admin/emails.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/web/admin/emails.go b/routers/web/admin/emails.go index 017d696e20..5cbe70020b 100644 --- a/routers/web/admin/emails.go +++ b/routers/web/admin/emails.go @@ -10,6 +10,7 @@ import ( "net/url" "code.gitea.io/gitea/models" + "code.gitea.io/gitea/models/db" "code.gitea.io/gitea/modules/base" "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/modules/log" @@ -28,7 +29,7 @@ func Emails(ctx *context.Context) { ctx.Data["PageIsAdminEmails"] = true opts := &models.SearchEmailOptions{ - ListOptions: models.ListOptions{ + ListOptions: db.ListOptions{ PageSize: setting.UI.Admin.UserPagingNum, Page: ctx.FormInt("page"), }, |