Created
October 27, 2021 19:13
-
-
Save jimarnold/2988dd7ced2af00ce6baf02003a1ad38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/views/search/SearchForm.js b/src/views/search/SearchForm.js | |
index 112b5dde9..bbbaf68ad 100644 | |
--- a/src/views/search/SearchForm.js | |
+++ b/src/views/search/SearchForm.js | |
@@ -80,7 +80,7 @@ export class SearchForm extends Component { | |
: []; | |
} | |
- if (!this.props.includeMigrated && this.props.taxonomy !== null) { | |
+ if (this.props.pageType === 'taxonomy' && !this.props.includeMigrated && this.props.taxonomy !== null) { | |
items = this.filterMigrated(items); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment