@@ -, +, @@ The borrower and item branches match AND The hold fulfillment policy is any or the pickupbranch matches the items branch specified by hold_fulfillment_policy AND The request has an itemtype set --- t/db_dependent/HoldsQueue.t | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- a/t/db_dependent/HoldsQueue.t +++ a/t/db_dependent/HoldsQueue.t @@ -1407,7 +1407,8 @@ subtest 'Excludes from local holds priority' => sub { branchcode => $other_patron->branchcode, borrowernumber => $other_patron->borrowernumber, biblionumber => $item1->biblionumber, - priority => 1 + priority => 1, + itemtype => $item1->effective_itemtype } ); @@ -1416,7 +1417,8 @@ subtest 'Excludes from local holds priority' => sub { branchcode => $local_patron_excluded->branchcode, borrowernumber => $local_patron_excluded->borrowernumber, biblionumber => $item1->biblionumber, - priority => 2 + priority => 2, + itemtype => $item1->effective_itemtype } ); @@ -1425,7 +1427,8 @@ subtest 'Excludes from local holds priority' => sub { branchcode => $local_patron_not_excluded->branchcode, borrowernumber => $local_patron_not_excluded->borrowernumber, biblionumber => $item1->biblionumber, - priority => 3 + priority => 3, + itemtype => $item1->effective_itemtype } ); --