prevent bconecard holds on checked out items master
authorMark Bucholtz <mark@coconut.sitka.bclibraries.ca.sitka.bclibraries.ca>
Thu, 16 May 2013 11:43:53 +0000 (04:43 -0700)
committerMark Bucholtz <mark@coconut.sitka.bclibraries.ca.sitka.bclibraries.ca>
Thu, 16 May 2013 11:43:53 +0000 (04:43 -0700)
circ/config_BSI.js

index 5eed6fe..f83f8e5 100644 (file)
@@ -39,7 +39,7 @@ getHardDueDate: function() {
         
 
        isAllowedHold: function() {
-           if (patronProfile == 'BCOneCard') {
+           if (patronProfile == 'BCOneCard' && copyStatus == 'Checked out') {
                return false;
            }
             if (copyStatus == 'Checked out'){