BMB: for precats, use 'isPrecat' rather than copy.call_number (RT 3977)
authorjeff <jdavis@sitka.bclibraries.ca>
Tue, 13 Apr 2010 20:52:11 +0000 (13:52 -0700)
committerjeff <jdavis@sitka.bclibraries.ca>
Tue, 13 Apr 2010 20:52:11 +0000 (13:52 -0700)
circ/config_BMB.js

index ee219d1..be9e195 100644 (file)
@@ -9,7 +9,7 @@ function getPolicy() {
     return {
 
         getLoanDuration : function() {
-            if (copy.call_number == -1){
+            if (isPrecat || copy.call_number == -1){
                 return '21_0';
             }
             /* returns config.rule_circ_duration.name */