nova-chartjs icon indicating copy to clipboard operation
nova-chartjs copied to clipboard

Fixed Undefined property: stdClass::$filter ( for model )

Open Sinecuraweb opened this issue 1 year ago • 2 comments

Sinecuraweb avatar Jan 23 '24 09:01 Sinecuraweb

The fix should be to update to Nova 4.31, the package should be updated to make that the min version, not this change.

dmason30 avatar Feb 16 '24 23:02 dmason30

You have made a mistake, and you can use filters with this format: 'filter' => [ [ 'key' => 'product_id', // State Column for Count Calculation Here 'operator' => '=', 'value' => '0' ] ],

instead this format that exists in docs: 'filter' => [ 'key' => 'product_id', // State Column for Count Calculation Here 'operator' => '=', 'value' => '1' ],

imvahid avatar Jun 01 '24 11:06 imvahid