From 46d0d6aa69a6767a72629ec38b793e6ad5df0e80 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 5 Apr 2022 13:25:53 +0200 Subject: [PATCH] Bug 30063: (follow-up) Fix missing TT filters Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 6 +++++- 1 file changed, 5 insertions(+), 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..87cd4c6201 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,11 @@ var Sticky; var singleBranchMode = '[% singleBranchMode | html %]'; let logged_in_library_id = "[% Branches.GetLoggedInBranchcode | html %]"; - let defer_loading = [% defer_loading | html ? 1 : 0 %]; + [% IF defer_loading %] + let defer_loading = 1; + [% ELSE %] + let defer_loading = 0; + [% END %] /* popstate event triggered by forward and back button. Need to refresh search */ window.addEventListener('popstate', (event) => { -- 2.39.5