[Koha-bugs] [Bug 31692] Let librarians change item level holds to record level holds when possible
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 14 15:01:36 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31692
--- Comment #55 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Tomás Cohen Arazi from comment #54)
> Can we please change the method signature? I'd expect
>
> $hold->change_type(
> {
> type => [biblio|item],
> [ item_id => $item->id, ]
> }
> );
>
> Or even split it in two methods:
>
> $hold->make_biblio_level
> $hold->make_item_level( $item->id )
>
> each of them checking the right things and throwing the required exceptions.
Maybe use switch? switch_to_record_level (we want to avoid biblio) and
switch_to_item_level
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list