Changed title of csv in events - #4625
This commit is contained in:
parent
cc239e5e68
commit
305d74878c
|
@ -3206,6 +3206,7 @@ function ui_print_datatable(array $parameters)
|
|||
{
|
||||
extend: "csv",
|
||||
text : "'.__('Export current page to CSV').'",
|
||||
title: "export_'.$parameters['id'].'_current_page_'.date('Y-m-d').'",
|
||||
exportOptions : {
|
||||
modifier : {
|
||||
// DataTables core
|
||||
|
|
|
@ -118,7 +118,7 @@ $now = date('Y-m-d');
|
|||
|
||||
// Download header.
|
||||
header('Content-type: text/txt');
|
||||
header('Content-Disposition: attachment; filename="pandora_export_event'.$now.'.csv"');
|
||||
header('Content-Disposition: attachment; filename="export_events_'.$now.'.csv"');
|
||||
|
||||
try {
|
||||
$fb64 = get_parameter('fb64', null);
|
||||
|
|
Loading…
Reference in New Issue