From 4aa49e571b463177cd49213573af07761dd8b95a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Sep 2013 16:57:33 +0200 Subject: [PATCH] Bug 10723: SearchOrders should take into account the pending parameter. --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 1b97b89..4536902 100644 --- a/C4/Acquisition.pm +++ b/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") ) { -- 1.7.10.4