Bugzilla – Attachment 89620 Details for
Bug 22633
Barcodes in the patrons 'holds' summary should link to the moredetail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22633: Link barcodes in hold summary in patron account to moredetail page
Bug-22633-Link-barcodes-in-hold-summary-in-patron-.patch (text/plain), 1.88 KB, created by
Katrin Fischer
on 2019-05-11 21:20:17 UTC
(
hide
)
Description:
Bug 22633: Link barcodes in hold summary in patron account to moredetail page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-05-11 21:20:17 UTC
Size:
1.88 KB
patch
obsolete
>From bffdcb37e0943b794bb66d9f66d5b970178ffcd6 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 3 Apr 2019 21:47:09 +0200 >Subject: [PATCH] Bug 22633: Link barcodes in hold summary in patron account to > moredetail page > >Bug 21070 links the barcode on holds to the item on moredetail.pl. >This patch makes the same change to the hold lists in the staff >patron account. > >To test: >- Create some holds, have at least > - one item level hold > - one hold waiting for pick-up >- Take a look at the details and checkouts tabs > in the patron account on staff side >- Verify that the barcodes link to the record detail page >- Apply patch >- Verify the barcodes now link to the moredetail page > >Signed-off-by: Axel Amghar <axel.amghar@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 1ca9a627c9..f2664e1cb8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -54,11 +54,11 @@ $(document).ready(function() { > "mDataProp": function( oObj ) { > var data = ""; > if ( oObj.barcode ) { >- data += " <a href='/cgi-bin/koha/catalogue/detail.pl?biblionumber=" >+ data += " <a href='/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=" > + oObj.biblionumber > + "&itemnumber=" > + oObj.itemnumber >- + "#" >+ + "#item" > + oObj.itemnumber > + "'>" > + oObj.barcode.escapeHtml() >-- >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 22633
:
87372
|
87725
|
89620
|
90219