nova-filterable-cards icon indicating copy to clipboard operation
nova-filterable-cards copied to clipboard

Declaration FilterableValue aggregate not compatible

Open renege opened this issue 5 years ago • 0 comments

Hi, @sschlein @mpociot

Having issues on latest V2-version of Nova: 2.12.0

Declaration of Beyondcode\FilterableCard\FilterableValue::aggregate($request, $model, $function, $column = NULL) should be compatible with Laravel\Nova\Metrics\Value::aggregate($request, $model, $function, $column = NULL, $dateColumn = NULL)

This in my Nova Value Metric:

use Beyondcode\FilterableCard\FilterableValue;
use Laravel\Nova\Http\Requests\NovaRequest;
use Laravel\Nova\Metrics\Value;

class TotalAdvisors extends Value
{
    use FilterableValue;

Also tried to use the Trait use Beyondcode\FilterableCard\Filterable; > then I get no errors, but nothing will happen when I click the 3 dots ,while i expect a popup to open.

renege avatar Apr 07 '20 14:04 renege