From 3930686df85c224e90b6b439e56a8a142ac6a575 Mon Sep 17 00:00:00 2001 From: Fabrizio Balliano Date: Sat, 13 May 2023 15:51:39 +0100 Subject: [PATCH 1/3] rebase --- app/code/core/Mage/Catalog/Helper/Product/Flat.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/code/core/Mage/Catalog/Helper/Product/Flat.php b/app/code/core/Mage/Catalog/Helper/Product/Flat.php index cc1b0d1cbee..7e2f801ef14 100644 --- a/app/code/core/Mage/Catalog/Helper/Product/Flat.php +++ b/app/code/core/Mage/Catalog/Helper/Product/Flat.php @@ -164,6 +164,20 @@ public function isAddChildData() return (int) Mage::getConfig()->getNode(self::XML_NODE_ADD_CHILD_DATA); } + /** + * Enable Catalog Product Flat + * + * @param bool $save + */ + public function enableFlatCollection($save = false) + { + if ($save) { + $this->_forceFlatStatusOld = $this->_forceFlatStatus; + } + + $this->_forceFlatStatus = false; + } + /** * Disable Catalog Product Flat * From 08db3c8f60361c6e908a7baa0c2f01868313bab6 Mon Sep 17 00:00:00 2001 From: Fabrizio Balliano Date: Sat, 13 May 2023 15:54:34 +0100 Subject: [PATCH 2/3] just to trigger workflows --- app/code/core/Mage/Catalog/Helper/Product/Flat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/core/Mage/Catalog/Helper/Product/Flat.php b/app/code/core/Mage/Catalog/Helper/Product/Flat.php index 7e2f801ef14..0ec4ef8799c 100644 --- a/app/code/core/Mage/Catalog/Helper/Product/Flat.php +++ b/app/code/core/Mage/Catalog/Helper/Product/Flat.php @@ -165,7 +165,7 @@ public function isAddChildData() } /** - * Enable Catalog Product Flat + * Enable Catalog Product Flat. * * @param bool $save */ From eb3d565b0a818d4f3048fb28f57e9bffc3135a48 Mon Sep 17 00:00:00 2001 From: Fabrizio Balliano Date: Sat, 13 May 2023 15:54:47 +0100 Subject: [PATCH 3/3] just to trigger workflows --- app/code/core/Mage/Catalog/Helper/Product/Flat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/core/Mage/Catalog/Helper/Product/Flat.php b/app/code/core/Mage/Catalog/Helper/Product/Flat.php index 0ec4ef8799c..7e2f801ef14 100644 --- a/app/code/core/Mage/Catalog/Helper/Product/Flat.php +++ b/app/code/core/Mage/Catalog/Helper/Product/Flat.php @@ -165,7 +165,7 @@ public function isAddChildData() } /** - * Enable Catalog Product Flat. + * Enable Catalog Product Flat * * @param bool $save */