Specify export file name rather than call function as it will always be the same...
authoreileen <emcnaughton@wikimedia.org>
Mon, 24 Sep 2018 22:39:33 +0000 (10:39 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 24 Sep 2018 22:39:33 +0000 (10:39 +1200)
CRM/Export/BAO/Export.php

index b28e2996bc0b4290a63b3f41dc7fc44e8f8260cd..deb2890c5097d7784fec891cb762e84f7b2b3e1e 100644 (file)
@@ -749,7 +749,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
       $rows[] = $row;
     }
 
-    CRM_Core_Report_Excel::writeCSVFile(self::getExportFileName(), $header, $rows);
+    CRM_Core_Report_Excel::writeCSVFile(ts('CiviCRM Contact Search'), $header, $rows);
     CRM_Utils_System::civiExit();
   }