From 773d7e2d1faa449ea1bd6f28d2422a195388686e 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. Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 0f7f6a5cb32cd2e68bc39e8464147852347be310) Signed-off-by: Julian Maurice --- .../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 d6013f8ca5..8e11dc697d 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.39.5