https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42036 --- Comment #1 from Olivia Reynolds <olivia.reynolds@openfifth.co.uk> --- Created attachment 202596 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202596&action=edit Bug 42036: Support diffs for report logs This patch makes use of the `original` parameter to `logaction` to log a diff of the entire Report object on create/modify/delete. Test plan: 1. Apply patch. 2. Enable the system preference ReportsLog. 3. Navigate to Reports, and create a new report. The quickest way to do this is to create a report from SQL with any name and "SELECT 1" as the SQL query. 4. Once the report has been created, edit its title and save the changes. 5. Delete the report. 6. Navigate to Tools > Log Viewer. 7. Ensure "Reports" is enabled under "Modules", and click "Submit". 8. Verify there are three Reports log entries corresponding to the create/modify/delete of the report earlier. 9. Enable the "Diff" column in the log viewer. 10. Verify each of the three log entries has an appropriate diff displayed. Sponsored-by: Open Fifth -- You are receiving this mail because: You are watching all bug changes.