From 28d41896dd9aa72d9b6de55dfec42dfd38125a0d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 2 Nov 2021 11:57:21 +0000 Subject: [PATCH] Bug 29389: Add holding branch to the holds queue report This patch adds the holding branch to the hold queue report. It is added as hidden by default, when running per branch it is not needed To test: 1 - Place some holds in your system 2 - perl misc/cronjobs/holds/build_holdsqueue.pl 3 - View the holds queue 4 - Note there is no 'Current library' column 5 - Apply patch 6 - Reload 7 - Note the column is not there 8 - Click column setting gear 9 - Check the column and confirm it appears 10 - Confirm the filter works Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- admin/columns_settings.yml | 3 +++ .../intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 1b27cb60f1..be507f2041 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1376,6 +1376,9 @@ modules: columns: - columnname: title + - + columnname: holdingbranch + is_hidden: 1 - columnname: collection - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt index 7d1032386c..e4c9135046 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -77,6 +77,7 @@ Title + Current library Collection Item type Call number @@ -95,6 +96,11 @@ + + + + + @@ -179,6 +185,7 @@

+ [% Branches.GetName( itemsloo.holdingbranch ) | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.ccode ) | html %] [% ItemTypes.GetDescription( itemsloo.itype ) | html %] [% IF ( itemsloo.location ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.location ) | html %] [% END %][% itemsloo.itemcallnumber | html %] -- 2.39.5