From 7e577fe266d2f775e15cdaed60951ca6de86ad2f 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit 773d7e2d1faa449ea1bd6f28d2422a195388686e) Signed-off-by: Frédéric Demians --- .../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 1cf144e529..62bfd763be 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.20.1