[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 Aug 19 22:06:58 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15261

--- Comment #111 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Henri-Damien LAURENT from comment #108)
> Created attachment 131573 [details] [review]
> Bug 15261: Trying to fix after rebase
> 
> https://bugs.koha-community.org/show_bug.cgi?id=1526

Also missing in opac/opac-reserve.pl :
         if ( $canreserve &&
C4::Context->preference("PreventReservesOnSamePeriod") ) {
-            if ( ReservesOnSamePeriod($biblioNum, $itemNum, $startdate,
$expiration_date) ) {
+            if ( C4::Reserves::ReservesOnSamePeriod($biblioNum, $itemNum,
$startdate, $expiration_date) ) {
                 $canreserve = 0;
                 $failed_holds++;
             }

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list