[Koha-bugs] [Bug 15261] Verify if checkout or hold request periods overlap with existing holds
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 9 17:42:47 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15261
--- Comment #93 from Fridolin Somers <fridolin.somers at biblibre.com> ---
diff --git a/circ/circulation.pl b/circ/circulation.pl
index 5ec80c8f15..abfbb9306c 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -410,6 +410,10 @@ if (@$barcodes) {
}
unless($confirm_required) {
my $switch_onsite_checkout = exists
$messages->{ONSITE_CHECKOUT_WILL_BE_SWITCHED};
+ if ( $cancelreserve eq 'cancel' ) {
+ CancelReserve({ reserve_id => $query->param('reserveid') });
+ }
+ $cancelreserve = $cancelreserve eq 'revert' ? 'revert' : undef;
CancelReserve does not exist anymore, see Bug 19059
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list