spatie / laravel-activitylog

Log activity inside your Laravel app

Home Page:https://docs.spatie.be/laravel-activitylog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bulk Update Logging Not working

nitika-makhija opened this issue · comments

I am using whereIn for bulk update with list of ids (array) and updating in the table. Something like as shown in below query:

$details = Model::whereIn('id',$ids)->update(['flag'=>1)]);

It is not logging in the activity_log table when updates are mage

when I use below query to update column one by one its working fine and logging the data in activity_log table

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.