Koha::HoldGroup - Koha Hold Group object class
my $json = $hold_group->to_api;
Overloaded method that returns a JSON representation of the Koha::HoldGroup object, suitable for API output. The related Koha::Holds objects are merged as expected on the API.
$holds = $hold_group->holds
Return all holds associated with this group
$holds = $hold_group->target_hold_id
Return the target_hold_id
$where{'me.hold_group_id'} = Koha::HoldGroup::skip_non_target_holds_query('dbix')
Static method, returns the query part be added if DisplayAddHoldGroups Accepts a $query_type of 'dbix' or 'sql' and returns the respective query The query is designed to skip non target holds that are part of a hold group which already has a hold target
Josef Moravec <josef.moravec@gmail.com>