[Koha-bugs] [Bug 33791] $hold->fill does not set itemnumber when checking out without confirming hold

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 22 12:58:41 CEST 2023


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

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Interestingly, CheckReserves puts the given itemnumber (from the checkout) into
its highest reserve of the result:
$highest->{'itemnumber'} = $item->itemnumber;

But MoveReserves does ignore it in the $res (==$highest) hash:
if ($res->{borrowernumber} == $borrowernumber) {
    my $hold = Koha::Holds->find( $res->{reserve_id} );
    $hold->fill;
So it may have worked, and was perhaps undone by refactoring?

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


More information about the Koha-bugs mailing list