aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/unread_entries.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/unread_entries.go')
-rw-r--r--ui/unread_entries.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/unread_entries.go b/ui/unread_entries.go
index 6283a13..5dd3f7b 100644
--- a/ui/unread_entries.go
+++ b/ui/unread_entries.go
@@ -57,7 +57,7 @@ func (c *Controller) ShowUnreadPage(w http.ResponseWriter, r *http.Request) {
view.Set("pagination", c.getPagination(route.Path(c.router, "unread"), countUnread, offset))
view.Set("menu", "unread")
view.Set("user", user)
- view.Set("countUnread", c.store.CountUnreadEntries(user.ID))
+ view.Set("countUnread", countUnread)
view.Set("hasSaveEntry", c.store.HasSaveEntry(user.ID))
html.OK(w, view.Render("unread_entries"))