We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277154b commit cf34198Copy full SHA for cf34198
src/app/core/shared/search/search-configuration.service.ts
@@ -183,7 +183,7 @@ export class SearchConfigurationService implements OnDestroy {
183
*/
184
getCurrentQuery(defaultQuery: string) {
185
return this.routeService.getQueryParameterValue('query').pipe(map((query) => {
186
- return query || defaultQuery;
+ return query !== null ? query : defaultQuery; // Allow querying when the value is empty
187
}));
188
}
189
0 commit comments