diff --git a/app/Filament/Clusters/StaticData/Resources/StatistikoPlayers/Pages/ListStatistikoPlayers.php b/app/Filament/Clusters/StaticData/Resources/StatistikoPlayers/Pages/ListStatistikoPlayers.php index 1e3a7192..1a6dfc53 100644 --- a/app/Filament/Clusters/StaticData/Resources/StatistikoPlayers/Pages/ListStatistikoPlayers.php +++ b/app/Filament/Clusters/StaticData/Resources/StatistikoPlayers/Pages/ListStatistikoPlayers.php @@ -23,9 +23,11 @@ class ListStatistikoPlayers extends ListRecords { return [ Action::make('clean_download') - ->label('Direkter Download') + ->label('Direkt Download') ->icon('heroicon-o-arrow-down-tray') ->action(function (): StreamedResponse { + set_time_limit(0); + return response()->streamDownload(function () { // 1. Output-Stream öffnen $output = fopen('php://output', 'w'); @@ -112,7 +114,7 @@ class ListStatistikoPlayers extends ListRecords }, 'player-history_all_'.now()->format('Y-m-d_H-i-s').'.csv'); }), ExportAction::make('download_players') - ->label('Download') + ->label('Export Download') ->icon('phosphor-download') ->columnMapping(false) ->chunkSize(250)