From a7e9728c369a9573df567eaf0ed08b46ae5dfa71 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 Signed-off-by: Kelly --- .../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 | 3 +- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 62 +++++++++++-------- 5 files changed, 50 insertions(+), 33 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 8bae177e8fa..d95ace2ac13 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... @@ -46,9 +46,10 @@ [% INCLUDE 'checkouts-table-footer.inc' %] - - - + [% UNLESS Koha.Preference( 'AlwaysLoadCheckoutsTable' ) %] + + + [% END %]