BUG "build" field in CSV export ( mantis 1.1.6 )
Posted: 14 Oct 2010, 13:47
My installation is still R1.1.6 so I don't know if this is the same in others... My problem was to CSV export the "build" field, after the customization (csv_columns) I got an error on export. I think there is bug I solved adding the following lines in custom_functions_inc.php:
I'm not an expert so any further investigation from someone more expert will be greatly appreciated.
TIA
---
Code: Select all
function print_column_title_build( $p_sort, $p_dir, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE )
{ if ( $p_columns_target != COLUMNS_TARGET_CSV_PAGE )
{ echo '<td>';
print_view_bug_sort_link( lang_get( 'build' ), 'build', $p_sort, $p_dir, $p_columns_target );
print_sort_icon( $p_dir, $p_sort, 'build' );
echo '</td>';
}
else
{ echo lang_get( 'build' ); }
}
function csv_format_build( $p_build )
{ return csv_escape_string( $p_build ); }
TIA
---