[open-ils-commits] r568 - conifer/trunk/circ (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jul 6 14:33:53 EDT 2009
Author: dbs
Date: 2009-07-06 14:33:50 -0400 (Mon, 06 Jul 2009)
New Revision: 568
Modified:
conifer/trunk/circ/circ_permit_patron.js
Log:
Don't test against 0, because (in theory) that means a patron with a clean record would be barred
Modified: conifer/trunk/circ/circ_permit_patron.js
===================================================================
--- conifer/trunk/circ/circ_permit_patron.js 2009-07-06 15:32:36 UTC (rev 567)
+++ conifer/trunk/circ/circ_permit_patron.js 2009-07-06 18:33:50 UTC (rev 568)
@@ -24,7 +24,7 @@
limit = config.fineThreshold;
/* but Laurentian suspends loan privileges immediately */
if (copy.circ_lib == 103) {
- limit = 0;
+ limit = 0.01;
}
if (patronFines >= limit) {
result.events.push('PATRON_EXCEEDS_FINES');
@@ -33,7 +33,7 @@
limit = config.overdueThreshold;
/* but Laurentian suspends loan privileges immediately */
if (copy.circ_lib == 103) {
- limit = 0;
+ limit = 1;
}
if (patronOverdueCount >= limit) {
result.events.push('PATRON_EXCEEDS_OVERDUE_COUNT');
More information about the open-ils-commits
mailing list