https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31692
--- Comment #55 from Katrin Fischer <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
