Bug 30063: (follow-up) Fix missing TT filters

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2022-04-05 13:25:53 +02:00 committed by Fridolin Somers
parent c636b39a89
commit 46d0d6aa69
1 changed files with 5 additions and 1 deletions

View File

@ -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) => {