F
Filament11mo ago
SOIX

Update tabs count from filters

Is it possible to catch table query after applying filters and use it in tabs badge?
->badge($query->count())
->badge($query->count())
Something like $this->getTableQuery() || $this->getFilteredTableQuery() but getFilteredTableQuery returns cannot be accessed before init and getTableQuery doesn't have filters/tab filters.. On $this->getTable()->getQuery() I get nginx timeout error
1 Reply
LeandroFerreira
LeandroFerreira11mo ago
GitHub
Update tabs count from filters · filamentphp filament · Discussion ...
Is it possible to catch table query after applying filters and use it in tabs badge? ->badge($query->count()) Something like $this->getTableQuery() || $this->getFilteredTableQuery() but...
Want results from more Discord servers?
Add your server