diff --git a/src/app/components/search/search-results/search-results.component.ts b/src/app/components/search/search-results/search-results.component.ts index 80c798134..9067e9957 100644 --- a/src/app/components/search/search-results/search-results.component.ts +++ b/src/app/components/search/search-results/search-results.component.ts @@ -109,9 +109,11 @@ export class SearchResultsComponent extends PageComponent implements OnInit { this.sorting = this.getSorting(); this.subscriptions.push( - this.queryBuilder.updated.subscribe(() => { - this.sorting = this.getSorting(); - this.isLoading = true; + this.queryBuilder.updated.subscribe(query => { + if (query) { + this.sorting = this.getSorting(); + this.isLoading = true; + } }), this.queryBuilder.executed.subscribe(data => {