From d5d40e9f4bb2543a3d88d562ffbaa4e24731b84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20Vaculi=CC=81k?= Date: Wed, 26 Aug 2026 10:54:51 +0200 Subject: [PATCH] =?UTF-8?q?Oprava=20zobrazen=C3=AD=20tla=C4=8D=C3=ADtka=20?= =?UTF-8?q?reset=20filtru=20p=C5=99i=20vypnut=C3=BDch=20collapsible=20filt?= =?UTF-8?q?rech?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Při setCollapsibleOuterFilters(false) se tlačítko pro reset filtru (a jeho snippet) vůbec nevykreslilo, protože bylo uvnitř řádku podmíněného collapsible filtry. Řádek se nyní vykresluje vždy a podmínka zůstává jen na samotném collapse tlačítku. Fixes #1306 --- src/templates/datagrid.latte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/datagrid.latte b/src/templates/datagrid.latte index aa72ce4a..21df113a 100644 --- a/src/templates/datagrid.latte +++ b/src/templates/datagrid.latte @@ -20,10 +20,10 @@ {form filter, class => 'ajax', data-naja-unique => "datagrid-filter-{$control->getFullName()}"} {if $control->hasOuterFilterRendering()} {block outer-filters} -
+
{include reset-filter} -