Skip to content

Commit

Permalink
Important: Add block data to initial query state initialQueryState
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Nov 15, 2022
1 parent 0aac2be commit d23c14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Views/FacetedSearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ const FacetedSearch = ({
<ReactSearchKit
searchApi={ploneSearchApi(data)}
eventListenerEnabled={true}
initialQueryState={initialState}
initialQueryState={{...initialState, data: data}}
>
<Container>
{typeof document !== 'undefined' && relocation.length > 0 ? (
Expand Down

0 comments on commit d23c14d

Please sign in to comment.