We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2869c17 commit 4e52e4dCopy full SHA for 4e52e4d
1 file changed
src/app/core/shared/search/search-configuration.service.ts
@@ -164,7 +164,8 @@ export class SearchConfigurationService implements OnDestroy {
164
*/
165
getCurrentQuery(defaultQuery: string) {
166
return this.routeService.getQueryParameterValue('query').pipe(map((query) => {
167
- return query || defaultQuery;
+ const queryFromURL = query || defaultQuery;
168
+ return decodeURIComponent(queryFromURL) ?? '';
169
}));
170
}
171
0 commit comments