Bugzilla – Attachment 152186 Details for
Bug 33945
Add ability to delay the loading of the current checkouts table on the checkouts page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33945: (follow-up) Avoid breaking checkouts table when pref is empty
Bug-33945-follow-up-Avoid-breaking-checkouts-table.patch (text/plain), 1.36 KB, created by
Katrin Fischer
on 2023-06-08 12:36:37 UTC
(
hide
)
Description:
Bug 33945: (follow-up) Avoid breaking checkouts table when pref is empty
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-06-08 12:36:37 UTC
Size:
1.36 KB
patch
obsolete
>From f169f3e13ec247725c6e362d4e817ed9a2cb1c2a Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 8 Jun 2023 12:21:18 +0000 >Subject: [PATCH] Bug 33945: (follow-up) Avoid breaking checkouts table when > pref is empty > >When the pref is empty, the checkouts table would break. >This avoids it. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 681473f491..e036328ae9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -1039,7 +1039,7 @@ > > <script> > /* Set some variable needed in circulation.js */ >- const LoadCheckoutsTableDelay = [% Koha.Preference('LoadCheckoutsTableDelay') | html %]; >+ const LoadCheckoutsTableDelay = [% Koha.Preference('LoadCheckoutsTableDelay') || 0 | html %]; > var logged_in_user_borrowernumber = "[% logged_in_user.borrowernumber | html %]"; > var ClaimReturnedLostValue = "[% Koha.Preference('ClaimReturnedLostValue') | html %]"; > var ClaimReturnedChargeFee = "[% Koha.Preference('ClaimReturnedChargeFee') | html %]"; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33945
:
152130
|
152134
|
152170
|
152171
|
152173
|
152174
|
152180
|
152181
|
152184
|
152185
| 152186 |
152187