[Koha-bugs] [Bug 22069] New: Viewlog not displaying renewals correctly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 4 14:18:07 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22069
Bug ID: 22069
Summary: Viewlog not displaying renewals correctly
Change sponsored?: ---
Product: Koha
Version: 17.11
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Tools
Assignee: koha-bugs at lists.koha-community.org
Reporter: barry.cannon at interleaf.ie
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
If Tools > Log Viewer is selected and run using the module "Circulation" with
the action of "Renew" no results are shown. Selecting the action of "All" shows
all results including renewals. The reason appears to be because when selecting
the action of "Renew" the form POST uses the action parameter value of "RENEW".
This, in turn, gets passed to GetLogs where is used in the SQL query. However,
the actual value that is logged in the action_logs table is "RENEWAL" and not
"RENEW". Changing the SQL query to "RENEWAL" obtains the correct results.
RENEW is correct for the MEMBERS module but RENEWAL should be used for Circ.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list