From 6791041c28649ea1c57103753798ce1fd472c8bf Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Wed, 18 Feb 2015 16:26:12 +0100 Subject: [PATCH] Adding csv_cell twig filter --- Resources/views/Person/export.csv.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/views/Person/export.csv.twig b/Resources/views/Person/export.csv.twig index f7c9cd3e7..431b21b0f 100644 --- a/Resources/views/Person/export.csv.twig +++ b/Resources/views/Person/export.csv.twig @@ -17,9 +17,9 @@ {% for person in persons %}{# #}{{ person.id }},{# - #}"{{ person.firstName }}",{# - #}"{{ person.lastName }}",{# - #}"{{ person.genre }}",{# + #}"{{ person.firstName|csv_cell }}",{# + #}"{{ person.lastName|csv_cell }}",{# + #}"{{ person.genre|csv_cell }}",{# #}"{{ person.dateOfBirth|localizeddate('short', 'none') }}",{# #}"{# countryOfBirth #}{% if person.countryOfBirth is not null %}{#