@@ -, +, @@ B) on the same record, both for pickup at the logged-in library in the command line: - In a ktd shell prompt, open the db client with koha-mysql kohadev - UPDATE reserves SET expirationdate = DATE_SUB(CURDATE(), INTERVAL 1 DAY) WHERE borrowernumber = "holds waiting past their expiration date" tab --> Note that Patron B's hold is now an item-level hold and does not have a waiting status library, and one for Patron B at a different library --> Note that Patron B's hold is now an item-level hold and does not have a transit status B) on the same record, both for pickup at the logged-in library hold is already waiting --> A new modal will pop up to fill Patron B's hold --> Note that Patron B's hold is now an item-level hold and does not have a waiting status --> Note that Patron B's hold is still a bib-level/"next available" hold --> Note that Patron B's hold is still a bib-level/"next available" hold --> Note that Patron B's hold is still a bib-level/"next available" hold --- C4/Reserves.pm | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) --- a/C4/Reserves.pm +++ a/C4/Reserves.pm @@ -729,32 +729,15 @@ sub GetOtherReserves { my $item = Koha::Items->find($itemnumber); my ( undef, $checkreserves, undef ) = CheckReserves($item); if ($checkreserves) { + + #step 2a : case of a reservation at a different branch, return 'transfert' message if ( $item->holdingbranch ne $checkreserves->{'branchcode'} ) { $messages->{'transfert'} = $checkreserves->{'branchcode'}; - #minus priorities of others reservs - ModReserveMinusPriority( - $itemnumber, - $checkreserves->{'reserve_id'}, - ); - - #launch the subroutine dotransfer - C4::Items::ModItemTransfer( - $itemnumber, - $item->holdingbranch, - $checkreserves->{'branchcode'}, - 'Reserve' - ), - ; } - #step 2b : case of a reservation on the same branch, set the waiting status + #step 2b : case of a reservation on the same branch, return 'waiting' message else { $messages->{'waiting'} = 1; - ModReserveMinusPriority( - $itemnumber, - $checkreserves->{'reserve_id'}, - ); - ModReserveStatus($itemnumber,'W'); } $nextreservinfo = $checkreserves; --