From 58fd5f3dd0cf5d06e09e1924d4efabad52b39f16 Mon Sep 17 00:00:00 2001 From: Manish Menaria Date: Thu, 19 Sep 2024 18:29:16 +0530 Subject: [PATCH] Fix: Pagination not working on Frontend Remove perPage and pages attributes from hand-picked collection --- .../js/blocks/product-collection/collections/hand-picked.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/woocommerce-blocks/assets/js/blocks/product-collection/collections/hand-picked.tsx b/plugins/woocommerce-blocks/assets/js/blocks/product-collection/collections/hand-picked.tsx index 5098e71879c..7d7f2836307 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/product-collection/collections/hand-picked.tsx +++ b/plugins/woocommerce-blocks/assets/js/blocks/product-collection/collections/hand-picked.tsx @@ -62,8 +62,6 @@ const attributes = { }, query: { orderBy: 'post__in', - perPage: 0, - pages: 0, }, hideControls: [ CoreFilterNames.HAND_PICKED,