| Lines 557-563
          sub MapItemsToHoldRequests {
      
      
        Link Here | 
        
          | 557 |                     $request->{borrowerbranch} eq $item->{$priority_branch} | 557 |                     $request->{borrowerbranch} eq $item->{$priority_branch} | 
        
          | 558 |                     && _checkHoldPolicy($item, $request) # Don't fill item level holds that contravene the hold pickup policy at this time | 558 |                     && _checkHoldPolicy($item, $request) # Don't fill item level holds that contravene the hold pickup policy at this time | 
        
          | 559 |                     && ( !$request->{itemtype} # If hold itemtype is set, item's itemtype must match | 559 |                     && ( !$request->{itemtype} # If hold itemtype is set, item's itemtype must match | 
          
            
              | 560 |                         || ( $request->{itemnumber} && ( $items_by_itemnumber{ $request->{itemnumber} }->{itype} eq $request->{itemtype} ) ) ) | 560 |                         || $items_by_itemnumber{ $item->{itemnumber} }->{itype} eq $request->{itemtype} ) | 
        
          | 561 |                     && ( !$request->{item_group_id} # If hold item_group is set, item's item_group must match | 561 |                     && ( !$request->{item_group_id} # If hold item_group is set, item's item_group must match | 
        
          | 562 |                         || ( $item->{_object}->item_group && $item->{_object}->item_group->id eq $request->{item_group_id} ) ) | 562 |                         || ( $item->{_object}->item_group && $item->{_object}->item_group->id eq $request->{item_group_id} ) ) | 
        
          | 563 |                   ) | 563 |                   ) | 
            
              | 564 | -  |  |  |