From 116dcc643c6cdb3b5c009ea4c657f6a5444f198d Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 22 Nov 2015 03:38:30 +0100 Subject: [PATCH] Bug 12152: Holds to pull report - Show branch names and item type descriptions The 'Holds to pull' report shows branch and itemtype codes without this patch. With the patch, names and descriptions should display. To test: - Make sure there are some holds for available items in your system - Go to Circulation > Holds to pull - Verify changes mentioned above in the list of holds shown Signed-off-by: David Cook Works as described, although as Magnus mentioned, Locations still use codes instead of descriptions. --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index d6013f8..8e11dc6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -1,4 +1,6 @@ [% USE KohaDates %] +[%- USE Branches -%] +[%- USE ItemTypes -%] [% INCLUDE 'doc-head-open.inc' %] Koha › Circulation › Holds to pull [% INCLUDE 'doc-head-close.inc' %] @@ -123,14 +125,14 @@ $(document).ready(function() { " " [% END %] - [% reserveloo.holdingbranch %] + [% Branches.GetName ( reserveloo.holdingbranch ) %]

[% reserveloo.itemcallnumber %]

[% reserveloo.copyno %]

[% reserveloo.enumchron %]

- [% reserveloo.itype %] + [% ItemTypes.GetDescription( reserveloo.itype ) %] [% reserveloo.location %] - [% reserveloo.reservedate | $KohaDates %] in [% reserveloo.branch %] + [% reserveloo.reservedate | $KohaDates %] in [% Branches.GetName ( reserveloo.branch ) %] [% IF ( reserveloo.statusw ) %]

Waiting

[% END %][% IF ( reserveloo.statusf ) %]

Fullfilled

[% END %] -- 2.1.4