Bugzilla – Attachment 94958 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.75 KB, created by
Katrin Fischer
on 2019-11-01 21:13:00 UTC
(
hide
)
Description:
Bug 23862: add enumchron to holds-table
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-11-01 21:13:00 UTC
Size:
1.75 KB
patch
obsolete
>From e1819bf7f0d92f78b8fb571d71ca457e704d2365 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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