[Koha-bugs] [Bug 27432] Add report run to action logs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 14 15:45:51 CET 2021


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

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 115162
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115162&action=edit
Bug 27432: Add report run to action logs

Reports run should be logged in action logs.

This uses the exisiting action "Run" from cronjobs.
Like for other actions, infos contains the report name ("Unknown report" is
no report id provided) and executed SQL query.

1) Apply patch
2) Enable system preference "ReportsLog"
3) Run a report
4) Go to Tools > Log viewer
5) Select module "Reports" and submit
6) Check you see a log with report name and SQL query
7) Change SQL of report, re-run
8) Go to Tools > Log viewer
9) Select module "Reports" and submit
10) Select the 2 logs "Compare" and click "View comparison"

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list