From 37b66a2d7c4803de8ffee491973baab8b4a3071d Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 31 May 2024 21:30:43 +0000 Subject: [PATCH] Bug 37005: Fix problem with item_type_description being undefined To test: 1. Set noItemTypeImages to 'Don't show' 2. Find a record with items and notice the holdings table never loads. 3. APPLY patch, maybe clear borwser cache too. 4. Try again, the holdings table should load. Signed-off-by: David Nind Signed-off-by: Matt Blenkinsop Signed-off-by: Martin Renvoize --- .../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 3c08fe3ec7..86e8b3a554 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 @@ -351,8 +351,8 @@ node += image_location ? '%s '.format(escape_str(image_location), escape_str(item_type_description), escape_str(item_type_description)) : ''; + node += '%s'.format(escape_str(item_type_description)); [% END %] - node += '%s'.format(escape_str(item_type_description)); return node; } }, -- 2.39.5