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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
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