[open-ils-commits] r628 - conifer/trunk/circ (pzed)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Aug 20 13:27:42 EDT 2009


Author: pzed
Date: 2009-08-20 13:27:38 -0400 (Thu, 20 Aug 2009)
New Revision: 628

Modified:
   conifer/trunk/circ/circ_permit_copy.js
Log:
added a comment regarding desired "Check Patron Profile" event

Modified: conifer/trunk/circ/circ_permit_copy.js
===================================================================
--- conifer/trunk/circ/circ_permit_copy.js	2009-08-19 20:03:27 UTC (rev 627)
+++ conifer/trunk/circ/circ_permit_copy.js	2009-08-20 17:27:38 UTC (rev 628)
@@ -56,7 +56,7 @@
 	if (isValidPatron(patronProfile, valid_patrons)) {
   
 		// permit circulations for the following circ modifiers to all patrons
-		var circ_allow_list = ['CIRC', 'CRC MEDIA', 'CRC SPEC', 'CRC TEXT', 'DOC', 'DVD VIDEO', 'MAP (CIRCULATING)', 'MEDIA', 'MFORM', 'REF', 'THESIS'];
+		var circ_allow_list = ['CIRC', 'CRC MEDIA', 'CRC SPEC', 'CRC TEXT', 'DOC', 'DVD VIDEO', 'MEDIA', 'MFORM', 'REF', 'THESIS'];
 
 		// add permissions for patron groups who are not external borrowers
 		if (patronProfile == 'Faculty' || patronProfile == 'Graduate' || patronProfile == 'Undergraduate' || patronProfile == 'Staff members') {
@@ -78,7 +78,7 @@
 		}
 
 	} else {
-		result.events.push('COPY_CIRC_NOT_ALLOWED');
+		result.events.push('COPY_CIRC_NOT_ALLOWED'); // would prefer this to push a "Check Patron Profile" message
 	}
 } // end permissions for Windsor Leddy
 
@@ -112,7 +112,7 @@
 		}
 
 	} else {
-		result.events.push('COPY_CIRC_NOT_ALLOWED');
+		result.events.push('COPY_CIRC_NOT_ALLOWED'); // would prefer this to push a "Check Patron Profile" message
 	}
 } // end permissions for Windsor Law
 



More information about the open-ils-commits mailing list