diff options
author | 2023-02-25 04:52:45 +0000 | |
---|---|---|
committer | 2023-02-24 20:52:45 -0800 | |
commit | 8f9ccc6540be9d637b812985936f064bada8fcf3 (patch) | |
tree | 7d098af52e1f8946c1cd26ee214307b276b5f273 /api/entry.go | |
parent | ff8d68c151645de62d48fba62d2f591eab8f7383 (diff) | |
download | v2-8f9ccc6540be9d637b812985936f064bada8fcf3.tar.gz v2-8f9ccc6540be9d637b812985936f064bada8fcf3.tar.zst v2-8f9ccc6540be9d637b812985936f064bada8fcf3.zip |
Parse `<category>` from Feeds (RSS, Atom and JSON)
Diffstat (limited to '')
-rw-r--r-- | api/entry.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/entry.go b/api/entry.go index 839f6cac..e8d6c908 100644 --- a/api/entry.go +++ b/api/entry.go @@ -132,6 +132,8 @@ func (h *handler) findEntries(w http.ResponseWriter, r *http.Request, feedID int return } + tags := request.QueryStringParamList(r, "tags") + builder := h.store.NewEntryQueryBuilder(userID) builder.WithFeedID(feedID) builder.WithCategoryID(categoryID) @@ -140,6 +142,7 @@ func (h *handler) findEntries(w http.ResponseWriter, r *http.Request, feedID int builder.WithDirection(direction) builder.WithOffset(offset) builder.WithLimit(limit) + builder.WithTags(tags) configureFilters(builder, r) entries, err := builder.GetEntries() |