Bug 10960 - Holds Queue Report display loc code not description
The holds queue report shows codes for item shelving location and for library transfer location. This patch adds template plugin handling of both these fields to display their full description. To test, make sure you have one or more items in your holds queue which have a shelving location. Rebuild your holds queue if necessary and view it. Items which have a shelving location should show the description instead of the code. The "send to" column should show the library name instead of code. Signed-off-by: Chris <chris@bigballofwax.co.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works as described, making use of the TT plugins. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
0ac72275aa
commit
01c509f37d
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE ItemTypes %]
|
||||
[% USE Branches %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha › Circulation › Holds queue</title>
|
||||
|
@ -77,7 +78,7 @@ $(document).ready(function() {
|
|||
</td>
|
||||
<td class="hq-collection">[% AuthorisedValues.GetByCode( 'CCODE', itemsloo.ccode ) %]</td>
|
||||
<td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.itype ) %]</td>
|
||||
<td class="hq-callnumber">[% itemsloo.location %] [% itemsloo.itemcallnumber %]</td>
|
||||
<td class="hq-callnumber">[% IF ( itemsloo.location ) %]<em>[% AuthorisedValues.GetByCode( 'LOC', itemsloo.location ) %]</em> [% END %][% itemsloo.itemcallnumber %]</td>
|
||||
<td class="hq-copynumber">[% itemsloo.copynumber %]</td>
|
||||
<td class="hq-enumchron">[% itemsloo.enumchron %]</td>
|
||||
<td class="hq-barcode">
|
||||
|
@ -88,7 +89,7 @@ $(document).ready(function() {
|
|||
[% END %]
|
||||
</td>
|
||||
<td class="hq-patron"><p><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% itemsloo.cardnumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p> <p>[% itemsloo.phone %]</p></td>
|
||||
<td class="hq-sendto">[% itemsloo.pickbranch %]</td>
|
||||
<td class="hq-sendto">[% Branches.GetName( itemsloo.pickbranch ) %]</td>
|
||||
<td class="hq-date"><span title="[% itemsloo.reservedate %]">[% itemsloo.reservedate | $KohaDates %]</span></td>
|
||||
<td class="hq-notes">[% itemsloo.notes %]</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue