From 29c100b57af290c5d56d0ce5fbaf58f0d9b4972a Mon Sep 17 00:00:00 2001 From: CommanderRoot Date: Fri, 13 Oct 2017 19:27:43 +0200 Subject: [PATCH] Fix input value escaping Signed-off-by: Tobias Speicher --- templates/table/search/input_box.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/table/search/input_box.twig b/templates/table/search/input_box.twig index 659f70f70a..bea3180b7a 100644 --- a/templates/table/search/input_box.twig +++ b/templates/table/search/input_box.twig @@ -44,7 +44,7 @@ {% elseif column_type starts with 'enum' or (column_type starts with 'set' and in_zoom_search_edit) %} {% set in_zoom_search_edit = false %} - {% set value = column_type|e|slice(5, -1)|replace({"'": ''})|split(', ') %} + {% set value = column_type|e|slice(5, -1)|replace({''': ''})|split(', ') %} {% set cnt_value = value|length %} {# Enum in edit mode --> dropdown