@@ -, +, @@ parameter. --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Acquisition.pm +++ a/C4/Acquisition.pm @@ -1470,7 +1470,7 @@ sub SearchOrders { $query .= q{ AND (quantity > quantityreceived OR quantityreceived is NULL) - }; + } if $pending; my $userenv = C4::Context->userenv; if ( C4::Context->preference("IndependentBranches") ) { --