From 16154f7d019e44a156f5b4ea96cf69ade96dee52 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 3 Apr 2019 19:28:38 +0000 Subject: [PATCH] Bug 22631: Make links on barcode on hold summary page consistent (bug 21070) Bug 21070 changed the link on the holds summary so the barcode would link to the item on moredetail for an item level hold. If a hold is already waiting, the link still goes to the detail page of the record. This patch changes it so the barcode always links to the item. To test: - Place some item level holds on a record - Verify the barcodes on the hold summary page link to moredetail.pl - Return one of the items so that the hold is waiting - Verify the barcode links to the record detail page now - Apply patch - Verify barcodes for pending and waiting holds now both link to moredetail.pl Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc index d168455..995c7d2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -127,7 +127,7 @@ [% IF ( hold.found ) %] - + [% IF ( hold.barcodenumber ) %] [% hold.barcodenumber | html %] -- 2.1.4