Skip to content

TagSpaces is an offline, open source, document manager with tagging support

Fixed "Show files with this tag" button in tagMenu not starting a valid search.

HappyDayc4722e66eca3
diff --git a/app/components/menus/TagMenu.js b/app/components/menus/TagMenu.js
index 5fcbdfeb0..127ebe07b 100644
--- a/app/components/menus/TagMenu.js
+++ b/app/components/menus/TagMenu.js
@@ -67,7 +67,7 @@ class TagLibraryMenu extends React.Component<Props, State> {
showFilesWithThisTag = () => {
if (this.props.selectedTag) {
this.props.searchLocationIndex({
- tagsAND: [this.props.selectedTag.title],
+ tagsAND: [this.props.selectedTag],
maxSearchResults: this.props.maxSearchResults
});
}