From 09f84ccb0f0b293c60b09bf685ff95ecce19b032 Mon Sep 17 00:00:00 2001 From: Camille Moinier Date: Tue, 12 Sep 2023 15:28:53 +0200 Subject: [PATCH] fix(me): remove default sorting after navigation --- libs/feature/search/src/lib/state/search.facade.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/feature/search/src/lib/state/search.facade.ts b/libs/feature/search/src/lib/state/search.facade.ts index 5db8b3ab4e..4154dd780a 100644 --- a/libs/feature/search/src/lib/state/search.facade.ts +++ b/libs/feature/search/src/lib/state/search.facade.ts @@ -213,6 +213,7 @@ export class SearchFacade { resetSearch() { this.store.dispatch(new Paginate(1, this.searchId)) this.store.dispatch(new SetFilters({}, this.searchId)) + this.store.dispatch(new SetSortBy([], this.searchId)) this.store.dispatch(new SetFavoritesOnly(false, this.searchId)) } }