From 41b81af596480888c851549c51b802266bd9c3ea 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. --- 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 d94d4c347d..cd7ffcae19 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 @@ -187,7 +187,7 @@ [% Branches.GetName( itemsloo.holdingbranch ) | 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.30.2