Skip to content

Commit

Permalink
fix search filters for hyb sim/field recon
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosenb committed May 20, 2024
1 parent 2aa322e commit f8c3507
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ export const PublicationSearchSidebar: React.FC = () => {
<Checkbox
checked={searchParams
.getAll('project-type')
.includes('field-research')}
onChange={() => toggleProjectTypeFilter('field-research')}
.includes('field_recon')}
onChange={() => toggleProjectTypeFilter('field_recon')}
/>
&nbsp;
<strong>Field Research</strong>
Expand Down Expand Up @@ -179,8 +179,10 @@ export const PublicationSearchSidebar: React.FC = () => {
<article className={styles.projectTypeOptions}>
<div className={styles.checkboxRow}>
<Checkbox
checked={searchParams.getAll('project-type').includes('hybrid-sim')}
onChange={() => toggleProjectTypeFilter('hybrid-sim')}
checked={searchParams
.getAll('project-type')
.includes('hybrid_simulation')}
onChange={() => toggleProjectTypeFilter('hybrid_simulation')}
/>
&nbsp;
<strong>Hybrid Simulation</strong>
Expand Down

0 comments on commit f8c3507

Please sign in to comment.