diff options
author | 2017-12-02 17:04:01 -0800 | |
---|---|---|
committer | 2017-12-02 17:04:01 -0800 | |
commit | 2f1367a8d4c33e7c6ba459cfc6756e079c7a1af4 (patch) | |
tree | 04a2c15d41f79c05b74b67c9bbab4bfb483be6e1 /server/ui/controller/unread.go | |
parent | 453ff64f29c5ca330b20fb9c3dd41bbf7e7b7396 (diff) |
Make entries sorting configurable
Diffstat (limited to 'server/ui/controller/unread.go')
-rw-r--r-- | server/ui/controller/unread.go | 2 |
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) |