From 4e83f258461468729a1b1e3ab605ab68fa5f073e Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 26 Jan 2024 17:35:38 +0000 Subject: [PATCH] Bug 14180: Add option to always load the issues table --- .../prog/en/includes/checkouts-table.inc | 9 ++-- .../admin/preferences/circulation.pref | 8 ++- .../prog/en/modules/circ/circulation.tt | 1 + .../prog/en/modules/members/moremember.tt | 1 + koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 50 +++++++++++-------- 5 files changed, 42 insertions(+), 27 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc index 9efd8065d9..e3b5066040 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc @@ -7,7 +7,7 @@

Show checkouts [% SET LoadCheckoutsTableDelay = Koha.Preference('LoadCheckoutsTableDelay') %] - [% IF LoadCheckoutsTableDelay && page == 'circulation' %] + [% IF LoadCheckoutsTableDelay && patronpage == 'circ' %] Checkouts table will show automatically in [% LoadCheckoutsTableDelay | html %] seconds... @@ -45,9 +45,10 @@ [% INCLUDE 'checkouts-table-footer.inc' %] - - - + [% UNLESS Koha.Preference( 'AlwaysLoadCheckoutsTable' ) %] + + + [% END %]