no need to start a xact in lineitem search api call, especially if it's not closed...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 15 Jun 2010 21:00:34 +0000 (21:00 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 15 Jun 2010 21:00:34 +0000 (21:00 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16724 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index bce94cf..479c153 100644 (file)
@@ -282,7 +282,7 @@ __PACKAGE__->register_method(
 
 sub lineitem_search {
     my($self, $conn, $auth, $search, $options) = @_;
-    my $e = new_editor(authtoken=>$auth, xact=>1);
+    my $e = new_editor(authtoken=>$auth);
     return $e->event unless $e->checkauth;
     return $e->event unless $e->allowed('CREATE_PICKLIST');
     # XXX needs permissions consideration