From 6259520a96af0d5bfe145348320ed895e90c8344 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 4 Feb 2025 20:10:15 +0000 Subject: [PATCH 7/8] Bug 37334: Fix restricted and in_bundle JS Signed-off-by: Emmi Takkinen --- .../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 6bd3c84ac4..9023f03795 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.34.1