From e89414f00aa859a5783db6a29d95e94222975873 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 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 80803b86075..00cafec5fb8 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 @@ -580,7 +580,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