mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-01 12:26:19 -05:00
Any Tag alone searches the library, and Zim search does not offer it (#960)
On the search page, choosing Any Tag without a search string left the Dashboard showing: the page, the Files results and the Files count all waited for a search string or tag names. Zim search has no "any tag" search, and its tag picker's Any button left no filter applied, so the picker no longer offers it. Zim and Other counts are only requested when there is a search string or tag names to count by. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f1d344d8a2
commit
30b2bf6df0
7 changed files with 92 additions and 10 deletions
|
|
@ -282,7 +282,8 @@ export const ZimSearchView = ({suggestions, loading}) => {
|
|||
}
|
||||
|
||||
return <>
|
||||
<TagsQuerySelector onChange={(i, j) => setTags(i)}/>
|
||||
{/* Zim search filters by specific tags only; it has no "any tag" search. */}
|
||||
<TagsQuerySelector showAny={false} onChange={(i) => setTags(i)}/>
|
||||
{body}
|
||||
</>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue