Changed title of csv in events - #4625

This commit is contained in:
Tatiana Llorente 2019-10-04 11:51:30 +02:00
parent cc239e5e68
commit 305d74878c
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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);