Bug 12152: Holds to pull report - Display location descriptions
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Nov 2015 16:40:37 +0000 (16:40 +0000)
committerLiz Rea <wizzyrea@gmail.com>
Fri, 11 Dec 2015 03:16:57 +0000 (16:16 +1300)
...instead of their code

Test plan:
Same as before, confirm the the location codes are replaced with their
descriptions.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a901ed155a56a2c4ab95bb7bc951e2a0a7d04277)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 0ee6451023ca0c973052bcf685e9ab329a390927)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 217c50382a436cecd159a63eb1f93f4802214a46)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>

koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt

index 62bfd76..a7fd1f0 100644 (file)
@@ -1,4 +1,5 @@
 [% USE KohaDates %]
+[% USE AuthorisedValues %]
 [%- USE Branches -%]
 [%- USE ItemTypes -%]
 [% INCLUDE 'doc-head-open.inc' %]
@@ -130,7 +131,7 @@ $(document).ready(function() {
         <td><p>[% reserveloo.copyno %]</p></td>
         <td><p>[% reserveloo.enumchron %]</p></td>
         <td>[% ItemTypes.GetDescription( reserveloo.itype ) %]</td>
-        <td>[% reserveloo.location %]</td>
+        <td>[% AuthorisedValues.GetByCode('LOC', reserveloo.location) %]</td>
         <td>
             <span title="[% reserveloo.reservedate %]">[% reserveloo.reservedate | $KohaDates %] in [% Branches.GetName ( reserveloo.branch ) %]</span>
             [% IF ( reserveloo.statusw ) %]<p>Waiting</p>[% END %][% IF ( reserveloo.statusf ) %]<p>Fullfilled</p>[% END %]