From 347cc4af1eaf01dd0cbc1b579cdb7588dd2014c1 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Mon, 18 May 2020 12:56:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D0=B1=D0=BE=D1=80=20=D1=82=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D0=BA=D0=BE=20=D0=BE=D0=BF=D1=83=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D0=BA=D0=B0?= =?UTF-8?q?=D1=82=D0=B5=D0=B3=D0=BE=D1=80=D0=B8=D0=B9,=20=D1=81=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=BE=D0=B9=20=D1=83=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=BD=D1=8F=20=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/connectors/joomshopping.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/connectors/joomshopping.php b/admin/connectors/joomshopping.php index c86c1fb..a2bfb41 100644 --- a/admin/connectors/joomshopping.php +++ b/admin/connectors/joomshopping.php @@ -494,7 +494,7 @@ public function loadCustomParams($params, $field) $values = json_decode($field->value, true); $include_categories = (empty($values["include_categories"])) ? array() : $values["include_categories"]; - $categories = buildTreeCategory(0,1,0); + $categories = buildTreeCategory(1,1,1); $all = new stdClass(); $all->category_id = '-1'; $all->name = JText::_('JALL'); @@ -586,7 +586,7 @@ private function getProducts(array $products) public function getFilterCategory() { - $categories = buildTreeCategory(0,1,0); + $categories = buildTreeCategory(1,1,1); $all = new stdClass(); $all->category_id = ''; $all->name = JText::_('JSELECT');