@@ -, +, @@ - Set syspref as above and run test. Test 14 fails. - Set syspref to [Don't give] and run test agein, it passes OK. - Apply patch - Run test again with syspref set / not set --- t/db_dependent/Reserves.t | 4 ++++ 1 file changed, 4 insertions(+) --- a/t/db_dependent/Reserves.t +++ a/t/db_dependent/Reserves.t @@ -280,6 +280,10 @@ is( $messages->{ResFound}->{borrowernumber}, # Return the FPL item at FPL. The hold that should be triggered is # the one placed by the RPL patron, as that patron is first in line # and RPL imposes no restrictions on whose holds its items can fill. + +# Ensure that the preference 'LocalHoldsPriority' is not set (Bug 15244): +C4::Context->set_preference( 'LocalHoldsPriority', '' ); + (undef, $messages, undef, undef) = AddReturn('bug10272_FPL', 'FPL'); is( $messages->{ResFound}->{borrowernumber}, $requesters{'RPL'}, --