use cstore instead of storage in fetch_noncat, make sure closed date overlap call...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Dec 2009 15:02:09 +0000 (15:02 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Dec 2009 15:02:09 +0000 (15:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15066 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm

index 01fef22..c8c1978 100644 (file)
@@ -158,7 +158,7 @@ __PACKAGE__->register_method(
 
 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 @@ sub noncat_due_date {
                ->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