[Koha-bugs] [Bug 15565] Place multiple holds at once for the same record in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 11 23:01:56 CET 2018


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

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

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

--- Comment #169 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I'm not happy with adding things to the C4:: namespace, what about adding

my $biblio = Koha::Biblios->find( $biblio_id );
my $holds_allowed_on_record_today = $biblio->allowed_holds({ patron =>
$patron_obj });

holds are usually added in context in which we already have the $patron object,
and a biblionumber.

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


More information about the Koha-bugs mailing list