https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42030 --- Comment #11 from Lisette Scheer <lisette@bywatersolutions.com> --- Created attachment 197946 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197946&action=edit Bug 42030: Populate diff column for suggestion CREATE/MODIFY/DELETE logs Update suggestion action logging to populate the diff column using the correct before/after semantics: - CREATE: empty before-state ({}), new suggestion data as after-state - MODIFY: pre-change unblessed data as before, post-store object as after - DELETE: log before the SQL DELETE so the object can still be fetched; pass the suggestion as both $infos (info column) and $original (diff before-state), logaction sets after-state to {} Also add tests verifying the diff column is populated for all three actions. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.