From bffdcb37e0943b794bb66d9f66d5b970178ffcd6 Mon Sep 17 00:00:00 2001 From: Katrin Fischer 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 --- 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 += " " + oObj.barcode.escapeHtml() -- 2.11.0