We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3c3b8f commit 14b1a16Copy full SHA for 14b1a16
1 file changed
src/app/shared/search/search-charts/search-chart/search-chart-filter/search-chart-filter.component.ts
@@ -92,7 +92,7 @@ export class SearchChartFilterComponent extends SearchFacetFilterComponent imple
92
});
93
94
if (this.currentUrl) {
95
- const currentQueryParams = this.currentUrl.split('?')[1].split('&');
+ const currentQueryParams = (this.currentUrl.split('?')[1] || '').split('&');
96
const pageParam = currentQueryParams.filter((param) => param.includes('page'));
97
if (pageParam.length > 0) {
98
const paramName = pageParam[0].split('=')[0];
0 commit comments