if( !isTrue(copy.circulate) )
result.events.push('ITEM_NOT_HOLDABLE');
-/* projected medium
- this needs to be expanded to check circ_modifiers as well
-*/
+/* all STATELIB items are holdable regardless of type */
+if( isOrgDescendent('STATELIB', copy.circ_lib.id) ) return;
var mod = (copy.circ_modifier) ? copy.circ_modifier.toLowerCase() : "";
result.events.push('ITEM_NOT_HOLDABLE');
var marcItemType = getMARCItemType();
-
-
-/* some STATELIB items can have holds placed on them from anywhere */
-if( isOrgDescendent('STATELIB', copy.circ_lib.id) ) {
- if( mod == 'dvd-long' ||
- mod == 'video-long' ||
- mod == 'audiobook' ||
- mod == 'microform' ) {
- log_info("STATELIB 'AV' item is holdable");
- return;
- }
-}
-
-
var isAnc;
+
if( ( marcItemType == 'g' ||
marcItemType == 'i' ||
marcItemType == 'j' ||