199 |
my $reserveid = Koha::Holds->search({ biblionumber => $biblio->biblionumber, borrowernumber => $borrowernumbers[0] })->next->reserve_id; |
199 |
my $reserveid = Koha::Holds->search({ biblionumber => $biblio->biblionumber, borrowernumber => $borrowernumbers[0] })->next->reserve_id; |
200 |
ModReserveMinusPriority( $itemnumber, $reserveid ); |
200 |
ModReserveMinusPriority( $itemnumber, $reserveid ); |
202 |
is( $holds->next->itemnumber, $itemnumber, "Test ModReserveMinusPriority()" ); |
202 |
is( $holds->search({ itemnumber => $itemnumber })->count, 1, "Test ModReserveMinusPriority()" ); |