1 Reply
All the notes are in the code. I just dont get it. Im using the boot() method for some spatie activity logging, just removed that to keep example simple.
i know this isnt completely specific to filament other that its happening during a bulk action on a table, hopefully someone has some ideas.
The key issue/part is the following in the boot() method of the model
Ah mass updates don’t retrieve models
Will have to do a foreach or something
actually, the issue was that i needed to do
$property->load('criteria');
within the boot method. Otherwise the relationship was always outdated