[open-ils-commits] r15066 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 3 10:02:11 EST 2009
Author: erickson
Date: 2009-12-03 10:02:09 -0500 (Thu, 03 Dec 2009)
New Revision: 15066
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm
Log:
use cstore instead of storage in fetch_noncat, make sure closed date overlap call goes to storage
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm 2009-12-03 14:52:22 UTC (rev 15065)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm 2009-12-03 15:02:09 UTC (rev 15066)
@@ -158,7 +158,7 @@
sub fetch_noncat {
my( $self, $conn, $auth, $circid ) = @_;
- my $e = OpenILS::Utils::Editor->new( authtoken => $auth );
+ my $e = new_editor( authtoken => $auth );
return $e->event unless $e->checkauth;
my $c = $e->retrieve_action_non_cataloged_circulation($circid)
or return $e->event;
@@ -179,7 +179,7 @@
->add( seconds => interval_to_seconds($otype->circ_duration) )
->strftime('%FT%T%z');
- my $offset = $e->request(
+ my $offset = $U->storagereq(
'open-ils.storage.actor.org_unit.closed_date.overlap',
$circ->circ_lib,
$duedate
More information about the open-ils-commits
mailing list