Browse Source

Bug 10860: Follow-up - staff reading record

- capitalization fix "Checked out"
- display new tabs only when feature is activated
- fixes a qa script complaint about POD in Items.pm

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
3.18.x
Katrin Fischer 8 years ago
committed by Tomas Cohen Arazi
parent
commit
a72cdde31d
  1. 5
      C4/Items.pm
  2. 7
      koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt

5
C4/Items.pm

@ -2571,10 +2571,7 @@ sub GetAnalyticsCount {
=head2 GetItemHolds
=over 4
$holds = &GetItemHolds($biblionumber, $itemnumber);
=back
$holds = &GetItemHolds($biblionumber, $itemnumber);
This function return the count of holds with $biblionumber and $itemnumber

7
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt

@ -1,4 +1,5 @@
[% USE KohaDates %]
[% USE Koha %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title>
[% INCLUDE 'doc-head-close.inc' %]
@ -55,11 +56,13 @@
<div id="tabs" class="toptabs">
[% IF Koha.Preference('On-site checkouts') %]
<ul>
<li><a href="#readingrec" id="tab_all">All</a></li>
<li><a href="#readingrec" id="tab_checkout">Checkouts</a></li>
<li><a href="#readingrec" id="tab_onsite_checkout">On-site checkout</a></li>
<li><a href="#readingrec" id="tab_onsite_checkout">On-site checkouts</a></li>
</ul>
[% END %]
<div id="readingrec" style="overflow:hidden">
<table id="table_readingrec">
<thead>
@ -117,7 +120,7 @@
[% IF issue.returndate %]
<span title="[% issue.returndate %]">[% issue.returndate | $KohaDates %]</span>
[% ELSE %]
<span title="Checked Out"><small>Checked Out</small></span>
<span title="Checked out"><small>Checked out</small></span>
[% END %]
</td>
</tr>

Loading…
Cancel
Save