Skip to content

Commit fd1e71a

Browse files
committed
Fixed dateRange filter status check
1 parent fd94249 commit fd1e71a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bundle/Resources/views/themes/admin/account/notifications/filters.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
{% set is_some_filter_set =
66
(search_form.statuses is defined and search_form.statuses.vars.value|length) or
77
search_form.type.vars.value|length or
8-
search_form.createdRange.vars.value != 0
8+
(search_form.createdRange.vars.value is not null and (search_form.createdRange.vars.value.min is not null or
9+
search_form.createdRange.vars.value.max is not null))
910
%}
1011

1112
<div class="ibexa-list-filters">

0 commit comments

Comments
 (0)