Skip to content

Commit

Permalink
Bug: Active filters were not queried properly while navigating across…
Browse files Browse the repository at this point in the history
… datastores.
  • Loading branch information
erinesullivan committed Oct 17, 2024
1 parent e414264 commit 121e599
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const AdvancedSearchContainer = () => {
const activeDatastore = datastores.find((datastore) => {
return datastore.uid === activeDatastoreUid;
});
const queryString = (datastoreUid = activeDatastoreUid, nav) => {
const queryString = ({ datastoreUid, nav }) => {
const stringSearch = stringifySearch({
filter: activeFilters[datastoreUid],
library: datastoreUid === 'mirlyn' ? library : null,
Expand All @@ -36,7 +36,7 @@ const AdvancedSearchContainer = () => {
<div className='container container-narrow margin-top__m'>
<Breadcrumb
items={[
{ text: `${activeDatastore.name}`, to: `/${activeDatastore.slug}${queryString()}` },
{ text: `${activeDatastore.name}`, to: `/${activeDatastore.slug}${queryString({ datastoreUid: activeDatastoreUid })}` },
{ text: 'Advanced Search' }
]}
/>
Expand Down

0 comments on commit 121e599

Please sign in to comment.