remove forward slash from search query when selecting
This commit is contained in:
parent
3779c05888
commit
0db20834f9
3 changed files with 4 additions and 6 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -2202,7 +2202,7 @@ const makeSelectRecommendedContentForUri = uri => reselect.createSelector(makeSe
|
|||
return;
|
||||
}
|
||||
|
||||
const searchQuery = getSearchQueryString(title, undefined, undefined, {
|
||||
const searchQuery = getSearchQueryString(title.replace(/\//, ' '), undefined, undefined, {
|
||||
related_to: claim.claim_id
|
||||
});
|
||||
|
||||
|
|
|
@ -156,8 +156,6 @@ export const doSearch = (
|
|||
});
|
||||
};
|
||||
|
||||
export const doSearchForRelatedContent = (query: string) => {};
|
||||
|
||||
export const doFocusSearchInput = () => (dispatch: Dispatch) =>
|
||||
dispatch({
|
||||
type: ACTIONS.SEARCH_FOCUS,
|
||||
|
|
|
@ -510,7 +510,7 @@ export const makeSelectRecommendedContentForUri = (uri: string) =>
|
|||
return;
|
||||
}
|
||||
|
||||
const searchQuery = getSearchQueryString(title, undefined, undefined, {
|
||||
const searchQuery = getSearchQueryString(title.replace(/\//, ' '), undefined, undefined, {
|
||||
related_to: claim.claim_id,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue