Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Paginator now resets after filter is cancelled
Browse files Browse the repository at this point in the history
  • Loading branch information
holubj committed Jun 16, 2012
1 parent 983787e commit adc4cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/grid.latte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{$control['gridForm'][$control->name]['filter'][$column->name]->getControl()}
{/if}
</th>
<th class="grid-filter-form">{$control['gridForm'][$control->name]['filter']['send']->getControl()}<a n:if="$control->hasActiveFilter()" n:href="this, filter => NULL" title="Zrušit filtr" class="grid-filter-reset grid-ajax"></a></th>
<th class="grid-filter-form">{$control['gridForm'][$control->name]['filter']['send']->getControl()}<a n:if="$control->hasActiveFilter()" n:href="this, filter => NULL, paginator-page => NULL" title="Zrušit filtr" class="grid-filter-reset grid-ajax"></a></th>
</tr>
</thead>
<tbody>
Expand Down

0 comments on commit adc4cf9

Please sign in to comment.