Bugzilla – Attachment 161461 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.59 KB, created by
Emily Lamancusa (emlam)
on 2024-01-25 18:58:16 UTC
(
hide
)
Description:
Bug 35576: Add classes to hq-callnumber column in holds report
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2024-01-25 18:58:16 UTC
Size:
2.59 KB
patch
obsolete
>From e8299fd731fdab07823259f0d94f33ac212f50bb 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> >Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >--- > 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.34.1
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