Fix cast records with calculations
When using cast_records
with filter, use the join table to filter the models, instead of the base table, allowing calculations like sum
to happen correctly
When using cast_records
with filter, use the join table to filter the models, instead of the base table, allowing calculations like sum
to happen correctly