[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 22:13:47 CET 2021


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

PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #115162|0                           |1
        is obsolete|                            |

--- Comment #3 from PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> ---
Created attachment 115184
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115184&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"

Signed-off-by: Barbara Johnson <barbara.johnson at bedfordtx.gov>

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


More information about the Koha-bugs mailing list