diff --git a/modules/blocklayered/blocklayered.js b/modules/blocklayered/blocklayered.js index 38ccc0329..e2f384f06 100644 --- a/modules/blocklayered/blocklayered.js +++ b/modules/blocklayered/blocklayered.js @@ -235,7 +235,7 @@ function cancelFilter() { $('#'+$(this).attr('rel')).attr('checked', false); $('.'+$(this).attr('rel')).attr('checked', false); - $('#layered_form input[name='+$(this).attr('rel')+']:hidden').remove(); + $('#layered_form input[name='+$(this).attr('rel')+']').remove(); } } reloadContent(); diff --git a/modules/blocklayered/blocklayered.php b/modules/blocklayered/blocklayered.php index c6b3e8f11..1f353ae73 100644 --- a/modules/blocklayered/blocklayered.php +++ b/modules/blocklayered/blocklayered.php @@ -39,7 +39,7 @@ class BlockLayered extends Module { $this->name = 'blocklayered'; $this->tab = 'front_office_features'; - $this->version = '1.7.7'; + $this->version = '1.7.8'; $this->author = 'PrestaShop'; $this->need_instance = 0; @@ -2505,7 +2505,7 @@ class BlockLayered extends Module WHERE c.nleft > '.(int)$parent->nleft.' AND c.nright < '.(int)$parent->nright.' '.($depth ? 'AND c.level_depth <= '.($parent->level_depth+(int)$depth) : '').' - GROUP BY c.id_category ORDER BY level_depth, c.position'; + GROUP BY c.id_category ORDER BY c.nleft, c.position'; } foreach ($filters as $filterTmp) diff --git a/modules/blocklayered/config.xml b/modules/blocklayered/config.xml index aa19a02e0..6497b3e5f 100644 --- a/modules/blocklayered/config.xml +++ b/modules/blocklayered/config.xml @@ -2,7 +2,7 @@ blocklayered - +