// blocklayered, up version number, fix bug on IE8, plus change filter category ordering
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13114 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<module>
|
||||
<name>blocklayered</name>
|
||||
<displayName><![CDATA[Layered navigation block]]></displayName>
|
||||
<version><![CDATA[1.7.7]]></version>
|
||||
<version><![CDATA[1.7.8]]></version>
|
||||
<description><![CDATA[Displays a block with layered navigation filters.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
|
||||
Reference in New Issue
Block a user