aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/ui/controller/category.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/ui/controller/category.go')
-rw-r--r--server/ui/controller/category.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/category.go b/server/ui/controller/category.go
index b718d0d..75b7f90 100644
--- a/server/ui/controller/category.go
+++ b/server/ui/controller/category.go
@@ -54,7 +54,7 @@ func (c *Controller) ShowCategoryEntries(ctx *core.Context, request *core.Reques
builder := c.store.GetEntryQueryBuilder(user.ID, user.Timezone)
builder.WithCategoryID(category.ID)
builder.WithOrder(model.DefaultSortingOrder)
- builder.WithDirection(model.DefaultSortingDirection)
+ builder.WithDirection(user.EntryDirection)
builder.WithoutStatus(model.EntryStatusRemoved)
builder.WithOffset(offset)
builder.WithLimit(nbItemsPerPage)