Skip to content

Commit

Permalink
Merge pull request #9 from pixelant/fix_new_column_check
Browse files Browse the repository at this point in the history
[BUGFIX] fix check for new column start
  • Loading branch information
anjeylink authored Jan 25, 2018
2 parents f8dc288 + 75c6b9c commit 24f131e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Partials/Item/CategoryFilter.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:pxa="http://typo3.org/ns/Pixelant/PxaItemList/ViewHelpers" data-namespace-typo3-fluid="true">
<div class="filter">
<div class="container">
<div class="row">
Expand All @@ -13,7 +13,7 @@ <h3>{filterCategory.category.title}</h3>
<div class="row">
<div class="{settings.filter.columnClassPrefix}{filterCategory.subGridClassValue}">
<f:for each="{filterCategory.subCategories}" as="subCategory" iteration="i">
<f:if condition="{i.index} == {f:if(condition: settings.filter.maxColumnItem, then: settings.filter.maxColumnItem, else: '5')}">
<f:if condition="{pxa:isNewColumn(index: i.index, maxColumnItem: settings.filter.maxColumnItem)}">
<f:render section="openCloseColumn"
arguments="{subGridClassValue: filterCategory.subGridClassValue}"/>
</f:if>
Expand Down

0 comments on commit 24f131e

Please sign in to comment.