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/feed.go | |
parent | 453ff64f29c5ca330b20fb9c3dd41bbf7e7b7396 (diff) |
Make entries sorting configurable
Diffstat (limited to 'server/ui/controller/feed.go')
-rw-r--r-- | server/ui/controller/feed.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/feed.go b/server/ui/controller/feed.go index 85a94cf..eeb66c4 100644 --- a/server/ui/controller/feed.go +++ b/server/ui/controller/feed.go @@ -72,7 +72,7 @@ func (c *Controller) ShowFeedEntries(ctx *core.Context, request *core.Request, r builder.WithFeedID(feed.ID) builder.WithoutStatus(model.EntryStatusRemoved) builder.WithOrder(model.DefaultSortingOrder) - builder.WithDirection(model.DefaultSortingDirection) + builder.WithDirection(user.EntryDirection) builder.WithOffset(offset) builder.WithLimit(nbItemsPerPage) |