[Koha-bugs] [Bug 27131] Move code from circ/pendingreserves.pl to modules
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 2 09:59:19 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27131
--- Comment #5 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
To further elaborate on the idea when we have
Koha::Holds::get_items_that_can_fill
then we could have in pendingreserves.pl something like this
for biblio in biblios_with_holds:
holds = biblio->holds
items = holds->get_items_that_can_fill
callnums = _get_callnumbers(items)
itemtypes = _get_itypes(items)
first_hold = biblio->first_hold_to_fill
push @reservedata, { biblio->biblionumber, first_hold->hold_id, callnums,
itemtypes .. }
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list