From 6b0d1a01f186cdc9072010964453fe73a961356d Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 4 Feb 2025 20:10:15 +0000 Subject: [PATCH] Bug 37334: Fix restricted and in_bundle JS --- .../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 6bd3c84ac47..9023f03795b 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 @@ -582,7 +582,7 @@ nodes += '(%s)'.format(escape_str(av_restricted.get(row.restricted_status.toString()))); } - if ( status == 'restricted') { + if ( status == 'in_bundle') { nodes += '%s'.format(_("In bundle: %s").format($biblio_to_html(row.bundle_host.biblio, { link: true }))); } }); -- 2.39.5