View | Details | Raw Unified | Return to bug 15496
Collapse All | Expand All

(-)a/C4/Circulation.pm (-1 / +1 lines)
Lines 1210-1216 sub checkHighHolds { Link Here
1210
            # dynamic means X more than the number of holdable items on the record
1210
            # dynamic means X more than the number of holdable items on the record
1211
1211
1212
            # let's get the items
1212
            # let's get the items
1213
            my @items = $holds->next()->biblio()->items();
1213
            my @items = $holds->next()->biblio()->items()->as_list;
1214
1214
1215
            # Remove any items with status defined to be ignored even if the would not make item unholdable
1215
            # Remove any items with status defined to be ignored even if the would not make item unholdable
1216
            foreach my $status (@decreaseLoanHighHoldsIgnoreStatuses) {
1216
            foreach my $status (@decreaseLoanHighHoldsIgnoreStatuses) {
(-)a/t/db_dependent/Holds/HoldFulfillmentPolicy.t (-1 / +1 lines)
Lines 143-149 Koha::Holds->find( $reserve_id )->cancel; Link Here
143
t::lib::Mocks::mock_preference( 'UseBranchTransferLimits',  '1' );
143
t::lib::Mocks::mock_preference( 'UseBranchTransferLimits',  '1' );
144
t::lib::Mocks::mock_preference( 'BranchTransferLimitsType', 'itemtype' );
144
t::lib::Mocks::mock_preference( 'BranchTransferLimitsType', 'itemtype' );
145
Koha::Holds->search()->delete();
145
Koha::Holds->search()->delete();
146
my ($item) = Koha::Biblios->find($biblionumber)->items;
146
my ($item) = Koha::Biblios->find($biblionumber)->items->as_list;
147
my $limit = Koha::Item::Transfer::Limit->new(
147
my $limit = Koha::Item::Transfer::Limit->new(
148
    {
148
    {
149
        toBranch   => $library_C,
149
        toBranch   => $library_C,
(-)a/t/db_dependent/Reserves.t (-2 / +1 lines)
Lines 527-533 ok( C4::Reserves::IsAvailableForItemLevelRequest($item, $borrower), "Reserving a Link Here
527
my $pickup_branch = $builder->build({ source => 'Branch' })->{ branchcode };
527
my $pickup_branch = $builder->build({ source => 'Branch' })->{ branchcode };
528
t::lib::Mocks::mock_preference( 'UseBranchTransferLimits',  '1' );
528
t::lib::Mocks::mock_preference( 'UseBranchTransferLimits',  '1' );
529
t::lib::Mocks::mock_preference( 'BranchTransferLimitsType', 'itemtype' );
529
t::lib::Mocks::mock_preference( 'BranchTransferLimitsType', 'itemtype' );
530
my ($item_object) = Koha::Biblios->find($biblionumber)->items;
530
my ($item_object) = Koha::Biblios->find($biblionumber)->items->as_list;
531
my $limit = Koha::Item::Transfer::Limit->new(
531
my $limit = Koha::Item::Transfer::Limit->new(
532
    {
532
    {
533
        toBranch   => $pickup_branch,
533
        toBranch   => $pickup_branch,
534
- 

Return to bug 15496