Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
Fix - InReach App remove double encoding of name when doing a search …
Browse files Browse the repository at this point in the history
…by name (#402)
  • Loading branch information
JoeKarow authored Nov 14, 2022
2 parents 7cd054b + c8c27bd commit 8a807cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MapPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ class MapPage extends React.Component {

handleSearchByOrgName() {
this.setState({searchDisabled: true});
const name = encodeURIComponent(this.state.orgName);
const name = this.state.orgName;
const sort = encodeURIComponent(this.state.selectedSort);
const url = `/${this.props.locale}/search/name/${name}/${sort}`;
this.props.handleAddressChange('');
Expand Down

0 comments on commit 8a807cc

Please sign in to comment.