[Koha-bugs] [Bug 9188] Remove 'debug' information from patron statistics

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 13 12:29:23 CEST 2016


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

--- Comment #2 from Andreas Roussos <arouss1980 at gmail.com> ---
Created attachment 55526
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55526&action=edit
Bug 9188 - Remove 'debug' information from patron statistics

In the staff client, if you submit a report under Reports ->
Statistics wizards -> Patrons you see a lot of debug info
with the heading "Filtered on:".

This patch fixes that by adding an extra template parameter
('filtered_on_debug') in reports/borrowers_stats.pl and setting
it to 0. The relevant template file is also updated to include
a conditional directive which checks for the 'filtered_on_debug'
variable. Debug info will only be shown if the variable is set
to something other than 0. Finally, the associated help file
template is updated to reflect the changes made.

Test plan:
1) In the staff client, submit a report under Reports ->
   Statistics wizards -> Patrons. Observe that you see a
   lot of debug information.
2) Apply the patch.
3) Repeat step 1. Confirm that the patch works, i.e. you
   no longer see the debug information.

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


More information about the Koha-bugs mailing list