Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Jun 27, 2018
1 parent 2a8dca9 commit b51063a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widgets/GridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ public function init()
}

public $exportParam = '_sx-export';
public $exportFileName = 'export';

public function run()
{
Expand Down Expand Up @@ -368,7 +369,7 @@ public function run()


fclose($out);
$filename = "export.csv";
$filename = $this->exportFileName . ".csv";
header('Content-Type: text/csv');

// disable caching
Expand Down

0 comments on commit b51063a

Please sign in to comment.