sortierung, einstellung für session, etc. global konfiguriert
This commit is contained in:
1 parent
a72ad30848
commit
b0a05726a2
2 files changed
+11
-4
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
@@ -19,6 +20,15 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
//
|
||||
Table::configureUsing(function (Table $table): void {
|
||||
$table
|
||||
->reorderableColumns()
|
||||
->persistColumnSearchesInSession()
|
||||
->persistColumnsInSession()
|
||||
->persistFiltersInSession()
|
||||
->persistSearchInSession()
|
||||
->persistSortInSession()
|
||||
->selectable();
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user