Skip to content

Commit 3ce13c7

Browse files
committed
Merge pull request #283 from ksn135/cis
FIX: allow to use array as field values in scope filters
2 parents b19495b + 72e42c0 commit 3ce13c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/templates/CommonAdmin/ListAction/scopes.php.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
{% if params["filters"] is defined -%}
107107
{%- for filter, filterParams in params["filters"] -%}
108108
{%- if not filter|is_numeric -%}
109-
$filters['{{ filter }}'] = '{{ filterParams }}';
109+
$filters['{{ filter }}'] = {{ filterParams|as_php }};
110110
{%- endif -%}
111111
{%- endfor -%}
112112
{%- endif %}

0 commit comments

Comments
 (0)