[open-ils-commits] r16146 - branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 6 23:22:09 EDT 2010


Author: miker
Date: 2010-04-06 23:22:06 -0400 (Tue, 06 Apr 2010)
New Revision: 16146

Modified:
   branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
proper support for in-db renewal of precats

Modified: branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2010-04-07 02:04:04 UTC (rev 16145)
+++ branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2010-04-07 03:22:06 UTC (rev 16146)
@@ -903,7 +903,7 @@
         {   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,
             ]
         }



More information about the open-ils-commits mailing list