Merge pull request #4536 from lareferencia/fix-search-bar-empty-query-interaction

This commit is contained in:
Alan Orth
2025-07-24 10:58:43 -07:00
committed by GitHub

View File

@@ -183,7 +183,7 @@ export class SearchConfigurationService implements OnDestroy {
*/
getCurrentQuery(defaultQuery: string) {
return this.routeService.getQueryParameterValue('query').pipe(map((query) => {
return query || defaultQuery;
return query !== null ? query : defaultQuery; // Allow querying when the value is empty
}));
}