Koha::Holds - Koha Hold object set class
returns a set of holds that are waiting from an existing set
returns a set of holds that are unfilled from an existing set
If a patron has multiple holds for a single record, those holds must be either all record level holds, or they must all be item level holds.
This method should be used with Hold sets where all Hold objects share the same patron and record.
This method will return 'item' if the patron has at least one item level hold. It will return 'record' if the patron has holds but none are item level, Finally, if the patron has no holds, it will return undef which indicates the patron may select either record or item level holds, barring any other rules that would prevent one or the other.
Kyle M Hall <firstname.lastname@example.org>