From 7e69ad331b2a58e14de8f617596a191e5c491379 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 19 May 2025 08:58:17 -0300 Subject: [PATCH] Bug 39932: Remove split in template --- .../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 ec3341b1ef9..67440510e69 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 @@ -511,7 +511,7 @@ orderable: false, render: function (data, type, row, meta) { let nodes = ""; - row._status.split(",").forEach( status => { + row._status.forEach( status => { if ( status == 'checked_out' || status == 'local_use') { nodes += ''; -- 2.49.0