orbit icon indicating copy to clipboard operation
orbit copied to clipboard

Filament 3 bulk deletes do not work

Open mikewink opened this issue 2 years ago • 1 comments

Hello Ryan,

I'm still working on my little side project that uses Orbit for content management. It works fine for the most part. Now, I found another problem. Bulk deletes do not work in Filament 3. I guess they do not, as no Model::delete is called for each individual model?

I have a simple to-do example that once persisting to SQLite and once to markdown files using Orbit. Furthermore, I can switch easily back and forth by commenting out the Orbital trait. Once in DB mode, it works just as expected.

Is there a way to fix that?

Thank you very much.

mikewink avatar Aug 27 '23 14:08 mikewink

Hm, Orbit relies on model events for correctly deleting files etc. Let me have a think, there might be something we can do about it.

ryangjchandler avatar Aug 30 '23 14:08 ryangjchandler