Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
suspend => 'suspended',
suspend_until => 'suspended_until',
itemtype => 'item_type',
+ item_level_hold => 'item_level',
};
=head3 $to_model_mapping
suspended => 'suspend',
suspended_until => 'suspend_until',
item_type => 'itemtype',
+ item_level => 'item_level_hold',
};
1;
);
__PACKAGE__->add_columns(
- '+lowestPriority' => { is_boolean => 1 },
- '+suspend' => { is_boolean => 1 }
+ '+item_level_hold' => { is_boolean => 1 },
+ '+lowestPriority' => { is_boolean => 1 },
+ '+suspend' => { is_boolean => 1 }
);
1;
"item_type": {
"type": ["string", "null"],
"description": "If record level hold, the optional itemtype of the item the patron is requesting"
+ },
+ "item_level": {
+ "type": "boolean",
+ "description": "If the hold is placed at item level"
}
}
}