Open
Description
The URL anchor is updated only with checkbox filters. To persist the search term in the hash, append activeFilterState.searchTerm
to the anchor
array before updating history.
if (activeFilterState.searchTerm) {
anchor.push(`search=${encodeURIComponent(activeFilterState.searchTerm)}`);
}
history.replaceState(null, null, '#' + anchor.join(';'));
Originally posted by @Copilot in #3340 (comment)
Metadata
Metadata
Assignees
Labels
No labels