auditlog icon indicating copy to clipboard operation
auditlog copied to clipboard

Changes are not logged when deleting or changing status from the entry list.

Open timkelty opened this issue 8 years ago • 8 comments

If you bulk-change statuses (with the checkmarks on the entry list), or delete an entry the same way, the changes are not logged.

timkelty avatar Feb 15 '16 16:02 timkelty

Indeed. This is because Craft doesn't fire events on these operations, so I can't hook into it...

boboldehampsink avatar Feb 16 '16 10:02 boboldehampsink

Bummer! Do you know if there is an existing request on http://feedback.craftcms.com/? I briefly looked but couldn't find anything...could even be considered a bug vs. a feature.

timkelty avatar Feb 16 '16 13:02 timkelty

Made one: http://feedback.craftcms.com/forums/285221-feature-requests/suggestions/12350388-raise-events-when-bulk-editing-entry-list-checkbo

timkelty avatar Feb 16 '16 13:02 timkelty

Thanks for requesting! I'll keep an eye open on its eventual appearance.

boboldehampsink avatar Feb 16 '16 14:02 boboldehampsink

Craft 2.5 fires an onPerformAction event on bulk actions https://craftcms.com/docs/plugins/events-reference#elements-onPerformAction

carlcs avatar Feb 26 '16 11:02 carlcs

Ah didn't know that - interesting!

boboldehampsink avatar Feb 26 '16 11:02 boboldehampsink

Great news!

timkelty avatar Feb 26 '16 13:02 timkelty

@boboldehampsink Any updates on if this is being added to the plugin?

fredrik-sogaard avatar Mar 14 '16 13:03 fredrik-sogaard