Bugzilla – Attachment 159930 Details for
Bug 35576
Make the callnumber column easier to customize when viewing the holds queue report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35576: Add classes to hq-callnumber column in holds report
Bug-35576-Add-classes-to-hq-callnumber-column-in-h.patch (text/plain), 2.52 KB, created by
David Nind
on 2023-12-17 02:14:17 UTC
(
hide
)
Description:
Bug 35576: Add classes to hq-callnumber column in holds report
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-12-17 02:14:17 UTC
Size:
2.52 KB
patch
obsolete
>From e0b172357d50cdbd83b88751e57a574dedcf23c4 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <david@davidnind.com> >--- > 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 @@ > <td class="hq-holdingbranch">[% Branches.GetName( itemsloo.holdingbranch ) | html %]</td> > <td class="hq-collection">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.item.ccode ) | html %]</td> > <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.item.effective_itemtype ) | html %]</td> >- <td class="hq-callnumber">[% IF ( itemsloo.item.location ) %]<em>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.item.location ) | html %]</em> [% END %][% itemsloo.item.itemcallnumber | html %]</td> >+ <td class="hq-callnumber">[% IF ( itemsloo.item.location ) %]<span class="location"><em>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.item.location ) | html %]</em></span> [% END %]<span class="itemcallnumber">[% itemsloo.item.itemcallnumber | html %]</span></td> > <td class="hq-copynumber">[% itemsloo.item.copynumber | html %]</td> > <td class="hq-enumchron">[% itemsloo.item.enumchron | html %]</td> > <td class="hq-barcode"> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35576
:
159855
|
159930
|
161461