From f8c541d4b328e2813c00ba37ddaa2ad58e477f7d Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 6 Jul 2009 18:33:50 +0000 Subject: [PATCH] Don't test against 0, because (in theory) that means a patron with a clean record would be barred git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@568 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- circ/circ_permit_patron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circ/circ_permit_patron.js b/circ/circ_permit_patron.js index 9fe79e6eb4..1afc66ee31 100755 --- a/circ/circ_permit_patron.js +++ b/circ/circ_permit_patron.js @@ -24,7 +24,7 @@ if( config ) { 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 @@ if( config ) { 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'); -- 2.11.0