[open-ils-commits] r527 - conifer/trunk/circ (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jun 11 17:15:53 EDT 2009
Author: dbs
Date: 2009-06-11 17:15:48 -0400 (Thu, 11 Jun 2009)
New Revision: 527
Modified:
conifer/trunk/circ/circ_permit_copy.js
Log:
Shut down circulation of documents and periodicals, too
Modified: conifer/trunk/circ/circ_permit_copy.js
===================================================================
--- conifer/trunk/circ/circ_permit_copy.js 2009-06-11 21:04:30 UTC (rev 526)
+++ conifer/trunk/circ/circ_permit_copy.js 2009-06-11 21:15:48 UTC (rev 527)
@@ -41,6 +41,8 @@
if( ! isTrue(copy.circulate) ||
!isTrue(copy.location.circulate) ||
(copy.circ_lib.shortname == 'OSUL' && copy.circ_modifier == 'DEPOSIT') ||
+ (copy.circ_lib.shortname == 'OSUL' && copy.circ_modifier == 'DOCUMENTS') ||
+ (copy.circ_lib.shortname == 'OSUL' && copy.circ_modifier == 'PERIODICAL') ||
(copy.circ_lib.shortname == 'OSUL' && copy.circ_modifier == 'REFERENCE')
) {
result.events.push('COPY_CIRC_NOT_ALLOWED');
More information about the open-ils-commits
mailing list