[open-ils-commits] r629 - conifer/trunk/circ (pzed)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Aug 20 13:29:08 EDT 2009
Author: pzed
Date: 2009-08-20 13:29:04 -0400 (Thu, 20 Aug 2009)
New Revision: 629
Modified:
conifer/trunk/circ/circ_duration_OWA.js
Log:
minor tweak to rules for exceptions: five expected patron groups get item-based rules, unexpected groups get non_circ
Modified: conifer/trunk/circ/circ_duration_OWA.js
===================================================================
--- conifer/trunk/circ/circ_duration_OWA.js 2009-08-20 17:27:38 UTC (rev 628)
+++ conifer/trunk/circ/circ_duration_OWA.js 2009-08-20 17:29:04 UTC (rev 629)
@@ -15,7 +15,7 @@
/* if result.durationRule is not modified for a patron group, set default
* this value will be used for all circ overrides! */
-result.durationRule = 'OWA_override';
+result.durationRule = 'non_circ';
// for fines, set the most common value here
result.recurringFinesRule = 'OWA_daily';
@@ -31,9 +31,7 @@
switch(copy.circ_modifier) {
case 'CD MUSIC':
- if (profileFirst == 'Faculty' || profileFirst == 'Staff') {
- result.durationRule = 'OWA_audiovisual';
- }
+ result.durationRule = 'OWA_audiovisual';
break;
case 'CIRC':
result.durationRule = 'OWA_' + profileFirst;
More information about the open-ils-commits
mailing list