Skip to content

Commit

Permalink
Updated encoding of DB links. Resolves #1210.
Browse files Browse the repository at this point in the history
  • Loading branch information
MillenniumFalconMechanic authored and NoopDog committed Jun 5, 2020
1 parent 96a1b2c commit 1227c62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/searchBrowser/searchBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ class SearchBrowser extends React.Component {
"facetName": this.state.selectedFacet,
"terms": [this.state.selectedTerm]
}]);
window.location.href = `${process.env.GATSBY_EXPLORE_URL}projects?filter=${facetFilter}`;
const params = new URLSearchParams();
params.set("filter", facetFilter);
window.location.href = `${process.env.GATSBY_EXPLORE_URL}projects?${params.toString()}`;
}
};

Expand Down

0 comments on commit 1227c62

Please sign in to comment.