Table summary not working for accessors
Hello
I try to build a summary for an accessor, which counts an amount of a hasMany relationship.
this works as expected, but when I add the summary:
this breaks because totalValue doesn't exist as a column.
1 Reply
Maybe try custom summaries repeating the same condition as in the accessor: https://filamentphp.com/docs/3.x/tables/summaries#custom-summaries
Not convenient, but should work.