aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/ui/controller/history.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/ui/controller/history.go')
-rw-r--r--server/ui/controller/history.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/history.go b/server/ui/controller/history.go
index 9b4e316..1052517 100644
--- a/server/ui/controller/history.go
+++ b/server/ui/controller/history.go
@@ -23,7 +23,7 @@ func (c *Controller) ShowHistoryPage(ctx *core.Context, request *core.Request, r
builder := c.store.GetEntryQueryBuilder(user.ID, user.Timezone)
builder.WithStatus(model.EntryStatusRead)
builder.WithOrder(model.DefaultSortingOrder)
- builder.WithDirection(model.DefaultSortingDirection)
+ builder.WithDirection(user.EntryDirection)
builder.WithOffset(offset)
builder.WithLimit(nbItemsPerPage)