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> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
ee5f12a574
commit
9e4ee8850a
|
|
@ -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 %]";
|
||||
|
|
|
|||
Loading…
Reference in New Issue