From 5e4656bd632243e194ef423d1afffc63c7086a23 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 28 Apr 2025 17:03:34 +0000 Subject: [PATCH] Bug 37334: Correct logic for filtering by in_bundle --- .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 da4eac6d26b..ec3341b1ef9 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 @@ -604,8 +604,7 @@ if ( status == 'restricted') { 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