nova-custom-table-card icon indicating copy to clipboard operation
nova-custom-table-card copied to clipboard

Idea: filter data when using it as card in a resource

Open drsdre opened this issue 5 years ago • 1 comments

In the Nova metric cards it's possible to filter the data using the third optional parameter in the calculate method:

final public function calculate( Request $request, ?object $FilterModel = null ) {

It would be great if this would also be possible to in the custom table cards. Additionally if no data is found, hide the whole block.

drsdre avatar Jul 17 '19 21:07 drsdre

+1

nemrutco avatar Nov 27 '19 07:11 nemrutco