Skip to content

Commit

Permalink
Filter Results by component
Browse files Browse the repository at this point in the history
Closes gh-156
  • Loading branch information
rwinch committed Sep 21, 2023
1 parent 05615eb commit 43ab39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/vendor/search.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
// selected
search.addWidgets([
instantsearch.widgets.configure({
facetFilters: [`version:${config.pageVersion}`],
facetFilters: [`version:${config.pageVersion}`, `component:${config.pageComponent}`],
attributesToSnippet: ['content'],
attributesToHighlight: ['hierarchy'],
distinct: true,
Expand Down

0 comments on commit 43ab39b

Please sign in to comment.