Bugzilla – Attachment 94501 Details for
Bug 23862
Add enumchron to holds-table on checkout page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23862: add enumchron to holds-table
Bug-23862-add-enumchron-to-holds-table.patch (text/plain), 1.49 KB, created by
Lucas Gass (lukeg)
on 2019-10-21 19:51:01 UTC
(
hide
)
Description:
Bug 23862: add enumchron to holds-table
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2019-10-21 19:51:01 UTC
Size:
1.49 KB
patch
obsolete
>From 394ce860c4befaab20b4ec95cdf6e6d4563c9ca0 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 18 Oct 2019 12:56:43 +0000 >Subject: [PATCH] Bug 23862: add enumchron to holds-table > >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 4 ++++ > svc/holds | 1 + > 2 files changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 3c0d77dc48..14f1ab87ac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -30,6 +30,10 @@ $(document).ready(function() { > > title += " " + oObj.part_number + " " + oObj.part_name; > >+ if ( oObj.enumchron ) { >+ title += " (" + oObj.enumchron.escapeHtml() + ")"; >+ } >+ > title += "</a>"; > > if ( oObj.author ) { >diff --git a/svc/holds b/svc/holds >index c406c0e4a4..55aa3a604f 100755 >--- a/svc/holds >+++ b/svc/holds >@@ -129,6 +129,7 @@ while ( my $h = $holds_rs->next() ) { > $hold->{itemnumber} = $item->itemnumber(); > $hold->{barcode} = $item->barcode(); > $hold->{itemtype} = $item->effective_itemtype(); >+ $hold->{enumchron} = $item->enumchron(); > $hold->{itemcallnumber} = $item->itemcallnumber() || q{}; > > my ( $transferred_when, $transferred_from, $transferred_to ) = >-- >2.11.0
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 23862
:
94501
|
94502
|
94821
|
94958