From 0cd8b9af3c82f9fbb23382284198e8eb3d6c9943 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Wed, 18 Feb 2015 16:30:08 +0100 Subject: [PATCH] Adding csv_row twig filter --- Resources/views/Report/export.csv.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Resources/views/Report/export.csv.twig b/Resources/views/Report/export.csv.twig index 172e4be5f..e54f1cd24 100644 --- a/Resources/views/Report/export.csv.twig +++ b/Resources/views/Report/export.csv.twig @@ -10,11 +10,11 @@ {% for report in reports %}{# #}{{ report.id }},{# - #}"{{ report.person }}",{# - #}"{{ report.person.id }}",{# + #}"{{ report.person|csv_cell }}",{# + #}"{{ report.person.id|csv_cell }}",{# #}"{{ report.date|localizeddate('short', 'none') }}",{# - #}"{{ report.user }}",{# - #}"{{ report.cFGroup.getName(app.request.locale) }}",{# + #}"{{ report.user|csv_cell }}",{# + #}"{{ report.cFGroup.getName(app.request.locale)|csv_cell }}",{# #}{% for customField in report.cFGroup.customFields %}{# #}{% if customField.type == 'title' %}{# #}""{#