aboutsummaryrefslogtreecommitdiffhomepage
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 a114250..e0f120a 100644
--- a/server/ui/controller/unread.go
+++ b/server/ui/controller/unread.go
@@ -17,7 +17,7 @@ func (c *Controller) ShowUnreadPage(ctx *core.Context, request *core.Request, re
builder := c.store.GetEntryQueryBuilder(user.ID, user.Timezone)
builder.WithStatus(model.EntryStatusUnread)
builder.WithOrder(model.DefaultSortingOrder)
- builder.WithDirection(model.DefaultSortingDirection)
+ builder.WithDirection(user.EntryDirection)
builder.WithOffset(offset)
builder.WithLimit(nbItemsPerPage)