Bug 41938: Argument "" isn't numeric in numeric gt (>) ... warnings in circulation.tt
The warnings:
[WARN] Argument "" isn't numeric in numeric gt (>) at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
line 1072.
[WARN] Argument "" isn't numeric in numeric gt (>) at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
line 1188.
appears in the plack-intranet-error.log.
Test plan:
==========
1. Use a fresh KTD, observe plack-intranet-error.log.
2. Find any patron and go to "Check out" tab.
==> Warnings should appear in plack-intranet-error.log
3. Apply the patch; restart_all.
4. Repeat 2. No warnings in plack-intranet-error.log
Sponsored-by: Ignatianum University in Cracow
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 656da5cb4b)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
parent
3a6f0e55e1
commit
bbbea91aa9
|
|
@ -1051,7 +1051,7 @@
|
|||
</div>
|
||||
<!-- /#barcodeSubmittedModal -->
|
||||
|
||||
[% IF waiting_holds.count > 0 %]
|
||||
[% IF waiting_holds.count && waiting_holds.count > 0 %]
|
||||
<div id="circ-warnwaitingholds-modal" class="modal audio-alert-action block">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
|
|
@ -1162,7 +1162,7 @@
|
|||
barcodeSubmitInFlight = false;
|
||||
}
|
||||
});
|
||||
[% IF waiting_holds.count > 0 %]
|
||||
[% IF waiting_holds.count && waiting_holds.count > 0 %]
|
||||
$('#circ-warnwaitingholds-modal .btn-primary').on('click',function() {
|
||||
$('#mainform').submit();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue