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 c9f4d7c commit 86a1babCopy full SHA for 86a1bab
src/Resources/MailResource.php
@@ -17,6 +17,7 @@
17
use Filament\Tables;
18
use Filament\Tables\Actions\Action;
19
use Filament\Tables\Table;
20
+use Illuminate\Database\Eloquent\Builder;
21
use Illuminate\Support\Carbon;
22
use Illuminate\Support\Collection;
23
use Illuminate\Support\HtmlString;
@@ -367,6 +368,9 @@ public static function table(Table $table): Table
367
368
->sortable()
369
->searchable(),
370
])
371
+ ->modifyQueryUsing(
372
+ fn (Builder $query) => $query->with('attachments')
373
+ )
374
->filters([
375
//
376
0 commit comments