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.
1 parent d312d1f commit 19660aaCopy full SHA for 19660aa
1 file changed
app/sprinkles/core/src/Sprunje/Sprunje.php
@@ -190,7 +190,7 @@ public function toResponse(Response $response)
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