forward port of r16146: proper support for in-db renewal of precats
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Apr 2010 03:24:20 +0000 (03:24 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Apr 2010 03:24:20 +0000 (03:24 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16148 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index ce0efe5..2141439 100644 (file)
@@ -1054,7 +1054,7 @@ sub run_indb_circ_test {
         {   from => [
                 $dbfunc,
                 $self->editor->requestor->ws_ou,
-                ($self->is_noncat or ($self->is_precat and !$self->override)) ? undef : $self->copy->id, 
+                ($self->is_noncat or ($self->is_precat and !$self->override and !$self->is_renewal)) ? undef : $self->copy->id, 
                 $self->patron->id,
             ]
         }