aboutsummaryrefslogtreecommitdiff
path: root/api/entry.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/entry.go')
-rw-r--r--api/entry.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/entry.go b/api/entry.go
index e64e867f..5545b200 100644
--- a/api/entry.go
+++ b/api/entry.go
@@ -143,8 +143,7 @@ func (h *handler) findEntries(w http.ResponseWriter, r *http.Request, feedID int
builder.WithFeedID(feedID)
builder.WithCategoryID(categoryID)
builder.WithStatuses(statuses)
- builder.WithOrder(order)
- builder.WithDirection(direction)
+ builder.WithSorting(order, direction)
builder.WithOffset(offset)
builder.WithLimit(limit)
builder.WithTags(tags)