https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42030

--- Comment #1 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 195032
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195032&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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to