Skip to content

Commit 2125965

Browse files
alisaismailatisteph-ieffam
authored andcommitted
Merged in DSC-1066-to-cris-2023-02-x (pull request DSpace#1231)
[DSC-1066] search-filter query with [ ] Approved-by: Stefano Maffei
2 parents 9dc5994 + 4e52e4d commit 2125965

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)