When viewing the holds queue report there is a column for itemcallnumber (.hq-callnumber). This column contains both item.itemcallnumber and item.location data. It would be easier to customize each piece of data separately if they were each wrapped in a span with a class name.
Created attachment 159855 [details] [review] 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.
Created attachment 159930 [details] [review] 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 <david@davidnind.com>
Created attachment 161461 [details] [review] 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 <david@davidnind.com> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Nice quality-of-life improvement! Looks good, QA script is happy. Passing QA
Pushed for 24.05! Well done everyone, thank you!
Not backported to 23.11.x