14 Mar
2023
14 Mar
'23
7:01 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31692 --- Comment #55 from Katrin Fischer <katrin.fischer@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.