diff --git a/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts b/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts index 550dab51df..da6c54e13a 100644 --- a/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts +++ b/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts @@ -148,7 +148,17 @@ export class ComcolPageBrowseByComponent implements OnDestroy, OnInit { })); if (this.router.url?.split('?')[0].endsWith(`/${this.id}`)) { - void this.router.navigate([this.router.url, this.appConfig[this.contentType].defaultBrowseTab]); + this.allOptions$.pipe( + take(1), + ).subscribe((allOptions: ComColPageNavOption[]) => { + for (const option of allOptions) { + if (option.id === this.appConfig[this.contentType].defaultBrowseTab) { + this.currentOption$.next(option[0]); + void this.router.navigate([option.routerLink], { queryParams: option.params }); + break; + } + } + }); } }