Bug 42200: Convert milliseconds to seconds for SelfCheckInTimeout
To test: 1. Set, or leave, the SelfCheckTimeout at 120 seconds 2. Log in to SCO module 3. You will be logged out in 120 milliseconds 4. APPLY PATCH, clear browser cache 5. SelfCheckTimeout should work in seconds again. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f6addef698
commit
38bf53404e
|
|
@ -416,7 +416,7 @@
|
|||
<script nonce="[% Koha.CSPNonce | $raw %]">
|
||||
addPrefs({
|
||||
OPACTableColExpandedByDefault: [% Koha.Preference('OPACTableColExpandedByDefault') ? 1 : 0 | html %],
|
||||
SelfCheckTimeout: "[% Koha.Preference('SelfCheckTimeout') | html %]",
|
||||
SelfCheckTimeout: "[% Koha.Preference('SelfCheckTimeout') * 1000 | html %]",
|
||||
SelfCheckReceiptPrompt: [% Koha.Preference('SelfCheckReceiptPrompt') ? 1 : 0 | html %],
|
||||
});
|
||||
const logged_in_user_cardnumber = "[% patronid | html %]";
|
||||
|
|
|
|||
Loading…
Reference in New Issue