[open-ils-commits] r10853 -
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Oct 16 16:27:08 EDT 2008
Author: erickson
Date: 2008-10-16 16:27:04 -0400 (Thu, 16 Oct 2008)
New Revision: 10853
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
during precats, assume override on checkout.full
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2008-10-16 19:57:47 UTC (rev 10852)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2008-10-16 20:27:04 UTC (rev 10853)
@@ -194,6 +194,9 @@
} elsif( $api =~ /checkout.full/ ) {
+ # requesting a precat checkout implies that any required
+ # overrides have been performed. Go ahead and re-override.
+ $circulator->override(1) if $circulator->request_precat;
$circulator->do_permit();
unless( $circulator->bail_out ) {
$circulator->events([]);
More information about the open-ils-commits
mailing list