during precats, assume override on checkout.full
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Oct 2008 20:27:04 +0000 (20:27 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Oct 2008 20:27:04 +0000 (20:27 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10853 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 5aaadd2..e5522c2 100644 (file)
@@ -194,6 +194,9 @@ sub run_method {
 
     } 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([]);