Permalink
Browse files

Merge branch 'feature-PRESIDECMS-1398_formbuilder_excel_export_submit…

…ted_by_fix' of https://github.com/nelsonchuah/Preside-CMS into hotfix-10.10.12
  • Loading branch information...
DominicWatson committed Dec 6, 2018
2 parents 2d2fbd2 + 1d6ec01 commit b96f0e3fcf4a46908fad18879d2f01aca591a35b
Showing with 3 additions and 2 deletions.
  1. +3 −2 system/services/formbuilder/FormBuilderService.cfc
@@ -931,11 +931,12 @@ component {
var row = 1;
for( var submission in submissions ) {
var column = 4;
var column = 4;
var submittedBy = Len( submission.submitted_by ) ? $renderLabel( "website_user", submission.submitted_by ) : "";
row++;
spreadsheetLib.setCellValue( workbook, submission.id, row, 1, "string" );
spreadsheetLib.setCellValue( workbook, DateTimeFormat( submission.datecreated, "yyyy-mm-dd HH:nn:ss" ), row, 2, "string" );
spreadsheetLib.setCellValue( workbook, submission.submitted_by, row, 3, "string" );
spreadsheetLib.setCellValue( workbook, submittedBy, row, 3, "string" );
spreadsheetLib.setCellValue( workbook, submission.form_instance, row, 4, "string" );
if ( itemsToRender.len() ) {

0 comments on commit b96f0e3

Please sign in to comment.