From 77af43830e6c82c71d4ddd703ddbddceae3c2688 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Fri, 26 Jul 2024 11:36:22 -0400 Subject: [PATCH] Bug 37496: Restore parameter to limit to details of one item To test: 1. Find a bib record with more than one item 2. Click on the barcode of an item to show the item details page --> The item details page shows the details of all items, though it does jump to the correct item 3. Apply patch 4. Reload the bib record, and click the barcode again --> The item details page shows only the chosen item, with a link above to show all items Signed-off-by: Roman Dolny Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer (cherry picked from commit 34ac823619f78b61bef718a0467a5d2ca173f617) Signed-off-by: Lucas Gass --- .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc index 722ab6521a..b97b89a99b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -613,7 +613,7 @@ orderable: true, render: function (data, type, row, meta) { if ( row.external_id != null ) { - return '%s'.format(row.biblio_id, row.item_id, row.external_id); + return '%s'.format(row.biblio_id, row.item_id, row.item_id, row.external_id); } return ''; } -- 2.39.5