aboutsummaryrefslogtreecommitdiff
path: root/server/ui/controller/unread.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/ui/controller/unread.go')
-rw-r--r--server/ui/controller/unread.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/unread.go b/server/ui/controller/unread.go
index 16728e85..59bd9dd5 100644
--- a/server/ui/controller/unread.go
+++ b/server/ui/controller/unread.go
@@ -12,7 +12,7 @@ import (
// ShowUnreadPage render the page with all unread entries.
func (c *Controller) ShowUnreadPage(ctx *core.Context, request *core.Request, response *core.Response) {
user := ctx.GetLoggedUser()
- offset := request.GetQueryIntegerParam("offset", 0)
+ offset := request.QueryIntegerParam("offset", 0)
builder := c.store.GetEntryQueryBuilder(user.ID, user.Timezone)
builder.WithStatus(model.EntryStatusUnread)