aboutsummaryrefslogtreecommitdiff
path: root/server/ui/controller/category.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net> 2017-12-28 19:20:14 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net> 2017-12-28 19:20:14 -0800
commita63105e13b7641dfbcd9ebb973f2541c7660c67e (patch)
treec8f6af2a5087f8579333169b56962286869413ce /server/ui/controller/category.go
parent519d4fcd739cf306c97cd04c3f786f5fb9a2b800 (diff)
downloadv2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.tar.gz
v2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.tar.zst
v2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.zip
Improve timezone handling
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 9bb12fb8..cf378c6d 100644
--- a/server/ui/controller/category.go
+++ b/server/ui/controller/category.go
@@ -51,7 +51,7 @@ func (c *Controller) ShowCategoryEntries(ctx *core.Context, request *core.Reques
return
}
- builder := c.store.GetEntryQueryBuilder(user.ID, user.Timezone)
+ builder := c.store.NewEntryQueryBuilder(user.ID)
builder.WithCategoryID(category.ID)
builder.WithOrder(model.DefaultSortingOrder)
builder.WithDirection(user.EntryDirection)