From 4e7f9d7854c4ea26b9974750904b54350cb39b1b Mon Sep 17 00:00:00 2001 From: Silke Date: Thu, 30 Mar 2023 15:34:17 +0200 Subject: [PATCH] fix: refresh the search page with query parameter 'view' --- .../shopping/product-listing/product-listing.effects.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/core/store/shopping/product-listing/product-listing.effects.ts b/src/app/core/store/shopping/product-listing/product-listing.effects.ts index 61f459c9f1..5822ad9e02 100644 --- a/src/app/core/store/shopping/product-listing/product-listing.effects.ts +++ b/src/app/core/store/shopping/product-listing/product-listing.effects.ts @@ -94,7 +94,12 @@ export class ProductListingEffects { select(selectQueryParams), // filter router changes which have nothing to do with product lists like login filter( - params => !!params?.filters || !!params?.sorting || !!params?.page || Object.keys(params)?.length === 0 + params => + !!params?.filters || + !!params?.view || + !!params?.sorting || + !!params?.page || + Object.keys(params)?.length === 0 ), map(params => { const filters = params.filters