Resource Filter on counts relationship
I've a table and Date range filter and want to apply the filter on the
counts
. I opened an issue on the Github. Please take a look for further information. thanks
https://github.com/filamentphp/filament/issues/7187GitHub
FilamentPHP filter not updating the record count · Issue #7187 · fi...
Package filament/filament Package Version 2.0 Laravel Version 10 Livewire Version 2.11 PHP Version 8.1 Problem description The Laravel FilamentPHP filter query not updating the records. I've Us...
Solution:Jump to solution
I think you can customize the eloquent query on the list page:
https://filamentphp.com/docs/2.x/admin/resources/listing-records#customizing-the-eloquent-query
```php...
Filament
Listing records - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
2 Replies
Solution
I think you can customize the eloquent query on the list page:
https://filamentphp.com/docs/2.x/admin/resources/listing-records#customizing-the-eloquent-query
resource column
resource filter
Filament
Listing records - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
thanks @Leandro Ferreira . thats' solve my problem