From 355f559421858193bd090a11c7bf433dbe56d95b Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 21 Dec 2010 19:37:18 +0000 Subject: [PATCH] Acq: Fix a bug where upon PO activation, lineitems in the order-ready state would stay there, rather than progressing to the on-order state git-svn-id: svn://svn.open-ils.org/ILS/trunk@19030 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm index 33f3eecf7..6fd0bf00b 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm @@ -2196,7 +2196,7 @@ sub activate_purchase_order_impl { my $query = [ { purchase_order => $po_id, - '-or' => [{state => 'pending-order'}, {state => 'new'}] + state => [qw/pending-order new order-ready/] }, {limit => 1} ]; -- 2.11.0