[Koha-bugs] [Bug 19005] New: Option to hide statistics tab from patron account
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 31 12:40:07 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19005
Bug ID: 19005
Summary: Option to hide statistics tab from patron account
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
The statistics tab in the patron account in staff often causes a bit of
confusion and questions from the libraries. It woul be nice if it could be
easily hidden without having to use jQuery.
Im the template, there is a check for statisticsview, but that is always set to
1:
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=members/statistics.pl;hb=1b73cae6eb4ce7e7ca675d6db84fe8ce0cd2f499#l107
statisticsview => 1,
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc;hb=1b73cae6eb4ce7e7ca675d6db84fe8ce0cd2f499#l96
[% IF ( CAN_user_borrowers ) %]
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a
href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber
%]">Statistics</a></li>
[% END %]
--
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