The Any Tag filter works on the Videos, Archives and Docs searches (#958)

The filter modal on these pages offered "Any Tag", but only the Files search
sent it; the module searches had no `any_tag` field.  Docs also matched any of
the listed tag_names, while every other search requires all of them.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
lrnselfreliance 2026-11-11 19:21:06 -07:00 • committed by GitHub
parent a0f30a0a60
commit 2800112f3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 189 additions and 30 deletions

View file

@ -66,6 +66,7 @@ async def search_docs(request: Request, body: schema.DocSearchRequest):
order_by=body.order_by,
tag_names=body.tag_names,
deep=body.deep,
any_tag=body.any_tag,
)
ret = dict(file_groups=file_groups, totals=dict(file_groups=total))
return json_response(ret)