Pull request (OPEN) · PR #991 fix(endpoint-micropub): honour filter on q=source, add category · @rmdes
Fixes #990.
filter is a case-insensitive match on a post’s name or content, category an exact category; both are cast to strings so nothing reaches the database as an operator, and both are passed to getCursor as its filter so paging keeps working within the match (the cursor’s filter option landed with #944).
Four integration tests, seen failing first. README documents category.
This is one of the last six changes ported from my fork; nothing here needs to hold a release.