Bugfix OrderBy Tablet Navigation

This commit is contained in:
Nino
2023-05-23 16:07:46 +02:00
parent 4b7c26b009
commit 4bfe35a8b9

View File

@@ -154,7 +154,7 @@ export class ArticleSearchResultsComponent implements OnInit, OnDestroy {
this.searchService.searchCompleted.pipe(withLatestFrom(this.application.activatedProcessId$)).subscribe(([state, processId]) => {
if (state.searchState === '') {
const params = state.filter.getQueryParams();
if ((state.hits === 1 && this.isTablet) || !this._navigationService.mainOutletActive(this.route)) {
if ((state.hits === 1 && this.isTablet) || (!this.isTablet && !this._navigationService.mainOutletActive(this.route))) {
const item = state.items.find((f) => f);
this._navigationService.navigateToDetails({
processId,