Skip to content

Commit 4e52e4d

Browse files
[DSC-1066] search-filter query with [ ]
1 parent 2869c17 commit 4e52e4d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/core/shared/search/search-configuration.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ export class SearchConfigurationService implements OnDestroy {
164164
*/
165165
getCurrentQuery(defaultQuery: string) {
166166
return this.routeService.getQueryParameterValue('query').pipe(map((query) => {
167-
return query || defaultQuery;
167+
const queryFromURL = query || defaultQuery;
168+
return decodeURIComponent(queryFromURL) ?? '';
168169
}));
169170
}
170171

0 commit comments

Comments
 (0)