From: erickson Date: Tue, 15 Jun 2010 21:00:34 +0000 (+0000) Subject: no need to start a xact in lineitem search api call, especially if it's not closed... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5be8a469b6200a3c9c232a7f69130703810b8dce;p=evergreen%2Fbjwebb.git no need to start a xact in lineitem search api call, especially if it's not closed out when done git-svn-id: svn://svn.open-ils.org/ILS/trunk@16724 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm index bce94cf45..479c15364 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm @@ -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