make it an idlist call since we don not need the objects
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 23 Jun 2008 03:48:41 +0000 (03:48 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 23 Jun 2008 03:48:41 +0000 (03:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@9916 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm

index 6803ae0..5b0ac48 100644 (file)
@@ -633,7 +633,7 @@ sub receive_lineitem_detail_impl {
     # XXX update the fund_debit to encumberance=false
 
     my $non_recv = $e->search_acq_lineitem_detail(
-        {recv_time => undef, lineitem => $lid->lineitem});
+        {recv_time => undef, lineitem => $lid->lineitem}, {idlist=>1});
 
     unless(@$non_recv) {
         # if all of the lineitem details for this lineitem have