From d4e1ea5d71fd339c800215f95369cfae51c5ade7 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 26 Feb 2024 10:03:22 +0000 Subject: [PATCH] Bug 36099: count and holdcount template vars into JS vars should default to 0 if empty Visit: http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=4321 Notice you have 2 console errors: 1) Uncaught SyntaxError: Unexpected token ';' 2) Uncaught ReferenceError: biblionumber is not defined Apply patch. Repeat. Notice no error shows. Visit an existing biblionumber. Confirm all is well. Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer (cherry picked from commit f94d763b6a5d671c4860db76263f72d0643b7555) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc index 3ab04f9af1..fc88b79abf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc @@ -3,8 +3,8 @@