aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/search_entries.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/search_entries.go')
-rw-r--r--ui/search_entries.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/search_entries.go b/ui/search_entries.go
index be97da0..88a60f5 100644
--- a/ui/search_entries.go
+++ b/ui/search_entries.go
@@ -27,8 +27,6 @@ func (h *handler) showSearchEntriesPage(w http.ResponseWriter, r *http.Request)
builder := h.store.NewEntryQueryBuilder(user.ID)
builder.WithSearchQuery(searchQuery)
builder.WithoutStatus(model.EntryStatusRemoved)
- builder.WithOrder(model.DefaultSortingOrder)
- builder.WithDirection(user.EntryDirection)
builder.WithOffset(offset)
builder.WithLimit(nbItemsPerPage)