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

Marc Véron <ve...@veron.ch> changed:

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

--- Comment #3 from Marc Véron <ve...@veron.ch> ---
Created attachment 55625
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55625&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.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <ve...@veron.ch>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to