mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Sort search results by relevance
This commit is contained in:
parent
ed6ae7e0d2
commit
267b706544
6 changed files with 11 additions and 7 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue