Skip to content

Commit

Permalink
Fix docsearch result missing lvlv0
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Aug 27, 2024
1 parent bef85be commit 0b7dd0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@
appId: 'QY9T9CVM2N',
indexName: 'marmelab-react-admin',
apiKey: '75332227370be3dc35777cee6244881a',
searchParameters: { facetFilters: ['version: {{ version }}'] },
searchParameters: {
facetFilters: ['version: {{ version }}'],
attributesToHighlight: ['hierarchy.lvl0'],
},
});
</script>

Expand Down
5 changes: 4 additions & 1 deletion docs/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,10 @@ <h2>Recipes</h2>
appId: 'QY9T9CVM2N',
indexName: 'marmelab-react-admin',
apiKey: '75332227370be3dc35777cee6244881a',
searchParameters: { facetFilters: ['version: {{ version }}'] },
searchParameters: {
facetFilters: ['version: {{ version }}'],
attributesToHighlight: ['hierarchy.lvl0'],
},
});
</script>

Expand Down

0 comments on commit 0b7dd0c

Please sign in to comment.