From d9ab397116920eab163194af5fc1e725e9d834dc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Sep 2013 16:57:33 +0200 Subject: [PATCH] Bug 10723: make SearchOrders() take into account the pending parameter Signed-off-by: Galen Charlton --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 1b97b8990b..4536902a2e 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") ) { -- 2.39.5