Only files that have been tagged will be returned when new 'Any' tag button is used to filter file search results.

This commit is contained in:
Roland 2024-07-22 16:36:57 -06:00
parent f3439c2bd5
commit 53d2402d32
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
31 changed files with 303 additions and 146 deletions

View file

@ -77,7 +77,7 @@ class Downloader extends React.Component {
}
}
handleSelectedTags = (tagNames) => {
handleTagsChange = (tagNames, newAnyTag) => {
this.setState({tagNames});
}
@ -119,7 +119,7 @@ class Downloader extends React.Component {
let tagsSelector;
if (withTags) {
tagsSelector = <TagsSelector selectedTagNames={tagNames} onToggle={this.handleSelectedTags}/>;
tagsSelector = <TagsSelector selectedTagNames={tagNames} onChange={this.handleTagsChange}/>;
}
const advancedAccordion = <Accordion>