[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 14:45:41 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31692

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomascohen at gmail.com

--- Comment #54 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list