Skip to content

Commit

Permalink
Merge pull request #1043 from Progi1984/dataFacets
Browse files Browse the repository at this point in the history
Added `data-name` to distinguish facet
  • Loading branch information
nicosomb authored Jun 21, 2024
2 parents 0032e30 + 7780321 commit e2790ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>ps_facetedsearch</name>
<displayName><![CDATA[Faceted search]]></displayName>
<version><![CDATA[3.16.0]]></version>
<version><![CDATA[3.16.1]]></version>
<description><![CDATA[Displays a block allowing multiple filters.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[front_office_features]]></tab>
Expand Down
2 changes: 1 addition & 1 deletion ps_facetedsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function __construct()
{
$this->name = 'ps_facetedsearch';
$this->tab = 'front_office_features';
$this->version = '3.16.0';
$this->version = '3.16.1';
$this->author = 'PrestaShop';
$this->need_instance = 0;
$this->bootstrap = true;
Expand Down
2 changes: 1 addition & 1 deletion views/templates/front/catalog/facets.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{/block}

{foreach from=$displayedFacets item="facet"}
<section class="facet clearfix" data-type="{$facet.type}">
<section class="facet clearfix" data-type="{$facet.type}" data-name="{$facet.label}">
<p class="h6 facet-title hidden-sm-down">{$facet.label}</p>
{assign var=_expand_id value=10|mt_rand:100000}
{assign var=_collapse value=true}
Expand Down

0 comments on commit e2790ad

Please sign in to comment.