diff options
Diffstat (limited to 'server/ui/controller/controller.go')
-rw-r--r-- | server/ui/controller/controller.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/controller.go b/server/ui/controller/controller.go index 8f1f415..8a45912 100644 --- a/server/ui/controller/controller.go +++ b/server/ui/controller/controller.go @@ -35,7 +35,7 @@ type Controller struct { func (c *Controller) getCommonTemplateArgs(ctx *core.Context) (tplParams, error) { user := ctx.LoggedUser() - builder := c.store.GetEntryQueryBuilder(user.ID, user.Timezone) + builder := c.store.NewEntryQueryBuilder(user.ID) builder.WithStatus(model.EntryStatusUnread) countUnread, err := builder.CountEntries() |