From a64a24bfee8c9566431e51ff9ac9011768870409 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 14 Dec 2023 22:39:00 +0000 Subject: [PATCH] Bug 35576: Add classes to hq-callnumber column in holds report To test: 1. APPLY PATCH 2. Make sure you have item.itemcallnumber data. 3. Have some holds and build the holds queue: perl /kohadevbox/koha/misc/cronjobs/holds/build_holds_queue.pl 4. To make testing easier add the following to IntranetUserCSS: .hq-callnumber .location { background: lightblue; } .hq-callnumber .itemcallnumber { background: lightgoldenrodyellow; } 5. Run the holds queue and notice that the data in the 'Call number' column has a lightblue (location) and lightgoldenrodyellow (call number) background. Signed-off-by: David Nind Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9717609a1c..49f2342125 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 @@ -193,7 +193,7 @@ [% Branches.GetName( itemsloo.item.homebranch ) | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.item.ccode ) | html %] [% ItemTypes.GetDescription( itemsloo.item.effective_itemtype ) | html %] - [% IF ( itemsloo.item.location ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.item.location ) | html %] [% END %][% itemsloo.item.itemcallnumber | html %] + [% IF ( itemsloo.item.location ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.item.location ) | html %] [% END %][% itemsloo.item.itemcallnumber | html %] [% itemsloo.item.copynumber | html %] [% itemsloo.item.enumchron | html %] -- 2.39.5