From d324c32a76a19d36979ad31aa35e3326fbb910ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Ste=CC=A8pien=CC=81?= Date: Sun, 8 Oct 2023 22:59:20 +0200 Subject: [PATCH] Collapse fix --- .../views/templates/hook/ps_categorytree.tpl | 9 +++++++-- .../views/templates/front/catalog/facets.tpl | 6 +++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl b/modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl index 1d38a726..f52c3e3d 100644 --- a/modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl +++ b/modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl @@ -34,7 +34,12 @@ {$node.name} - + @@ -44,7 +49,7 @@ {/if} {if $node.children} -
+
{categories nodes=$node.children depth=$depth+1}
{/if} diff --git a/modules/ps_facetedsearch/views/templates/front/catalog/facets.tpl b/modules/ps_facetedsearch/views/templates/front/catalog/facets.tpl index 73f3511e..154da7ef 100644 --- a/modules/ps_facetedsearch/views/templates/front/catalog/facets.tpl +++ b/modules/ps_facetedsearch/views/templates/front/catalog/facets.tpl @@ -54,7 +54,11 @@
{$facet.label} {if $facet.widgetType != 'slider'} -