[followup](bug #4051) add borrower "title", and complete address in csv
[koha.git] / reserve / request.pl
index 67ef180..8c55e54 100755 (executable)
@@ -344,8 +344,9 @@ foreach my $biblioitemnumber (@biblioitemnumbers) {
             }
         }
 
+        my $branch = C4::Circulation::_GetCircControlBranch($item, $borrowerinfo);
 
-        my $branchitemrule = GetBranchItemRule( $item->{'homebranch'}, $item->{'itype'} );
+        my $branchitemrule = GetBranchItemRule( $branch, $item->{'itype'} );
         my $policy_holdallowed = 1;
 
         $item->{'holdallowed'} = $branchitemrule->{'holdallowed'};