From b9131f2763223f29bf6a1960257d8a499290619b 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 Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize (cherry picked from commit ad9338e419ee04c38f5e7fdc918ce1a4d177cee0) Signed-off-by: Fridolin Somers --- 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.39.5