3 load_lib('circ/circ_lib.js');
4 log_vars('circ_permit_hold');
6 if( isTrue(patron.barred) )
7 result.events.push('PATRON_BARRED');
10 this needs to be expanded to check circ_modifiers as well
13 var mod = (copy.circ_modifier) ? copy.circ_modifier.toLowerCase() : "";
16 if( mod == 'bestsellernh' )
17 result.events.push('ITEM_NOT_HOLDABLE');
19 if( ( getMARCItemType() == 'g' ||
26 !isOrgDescendent(copy.circ_lib.shortname, patron.home_ou.id) )
28 result.events.push('ITEM_NOT_HOLDABLE');