From 6df6defa9ddd8c8905a5a8b080e0e7a03e0d08b6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 5 Apr 2022 11:15:49 +0000 Subject: [PATCH] Bug 30455: Incorrect template filter breaks holds This patch removes an incorrect template filter from inside a T:T conditional. This change should fix a non-functional request.pl and anywhere else patron-search.inc is used. The QA failure for a missing filter is a false positive. --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 738d0baa68..e694f86731 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -249,7 +249,7 @@ var Sticky; var singleBranchMode = '[% singleBranchMode | html %]'; let logged_in_library_id = "[% Branches.GetLoggedInBranchcode | html %]"; - let defer_loading = [% defer_loading | html ? 1 : 0 %]; + let defer_loading = [% defer_loading ? 1 : 0 %]; /* popstate event triggered by forward and back button. Need to refresh search */ window.addEventListener('popstate', (event) => { -- 2.20.1