We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e56f5c2 + b7df1ad commit ae83bd9Copy full SHA for ae83bd9
1 file changed
app/sprinkles/core/src/Sprunje/Sprunje.php
@@ -188,9 +188,7 @@ public function toResponse(Response $response)
188
$result = $this->getCsv();
189
190
// Prepare response
191
- $settings = http_build_query($this->options);
192
- $date = Carbon::now()->format('Ymd');
193
- $response = $response->withAddedHeader('Content-Disposition', "attachment;filename=$date-{$this->name}-$settings.csv");
+ $response = $response->withAddedHeader('Content-Disposition', "attachment;filename={$this->name}.csv");
194
$response = $response->withAddedHeader('Content-Type', 'text/csv; charset=utf-8');
195
196
return $response->write($result);
0 commit comments