Skip to content

Filtered query in ListRecords page for badges #15240

Closed Answered by AxelvdS
AxelvdS asked this question in Help
Discussion options

You must be logged in to vote

I finally found the solution: ->badge(fn () => $this->getFilteredTableQuery()->clone()->count())

Some of the filament methods are so hard to find. Is it worth starting to build a filament reference?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AxelvdS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant