Skip to content

Commit 0435802

Browse files
authored
Merge pull request #4536 from lareferencia/fix-search-bar-empty-query-interaction
2 parents 11fdc4a + cf34198 commit 0435802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export class SearchConfigurationService implements OnDestroy {
183183
*/
184184
getCurrentQuery(defaultQuery: string) {
185185
return this.routeService.getQueryParameterValue('query').pipe(map((query) => {
186-
return query || defaultQuery;
186+
return query !== null ? query : defaultQuery; // Allow querying when the value is empty
187187
}));
188188
}
189189

0 commit comments

Comments
 (0)