diff --git a/packages/geo/src/lib/search/search-results/search-results.component.ts b/packages/geo/src/lib/search/search-results/search-results.component.ts index 745260a97e..f8a28fd17d 100644 --- a/packages/geo/src/lib/search/search-results/search-results.component.ts +++ b/packages/geo/src/lib/search/search-results/search-results.component.ts @@ -243,8 +243,9 @@ export class SearchResultsComponent implements OnInit, OnDestroy { isMoreResults(group: { source: SearchSource; results: SearchResult[] }) { // getStrategyOfType is to avoid display more result based on a filtered state - return !this.store.getStrategyOfType(EntityStoreFilterCustomFuncStrategy).active && - group.results && + const stategy = this.store.getStrategyOfType(EntityStoreFilterCustomFuncStrategy); + const active = stategy?.active || false; + return !active && group.results && group.results[group.results.length - 1].meta.nextPage === true; }