Skip to content

Commit 8084900

Browse files
authored
fixed Latte 3.1 compatibility (#1223)
1 parent 3ac07f3 commit 8084900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/datagrid.latte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
</th>
141141
</tr>
142142
<tr n:block="header-column-row">
143-
<th n:snippet="thead-group-action" n:if="$hasGroupActions" n:attr="'rowspan=2' => !empty($filters) && !$control->hasOuterFilterRendering()" class="col-checkbox">
143+
<th n:snippet="thead-group-action" n:if="$hasGroupActions" n:attr="rowspan => !empty($filters) && !$control->hasOuterFilterRendering() ? 2" class="col-checkbox">
144144
<input n:if="$hasGroupActionOnRows" class="form-check-input" name="{$control->getFullName()|lower}-toggle-all" type="checkbox" data-check="{$control->getFullName()}" data-check-all="{$control->getFullName()}">
145145
</th>
146146
{foreach $columns as $key => $column}

0 commit comments

Comments
 (0)