[Koha-bugs] [Bug 24440] Add ->holds and ->holds_count to Koha::Acquisition::Order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 23 12:25:46 CET 2020


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

--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #5)
> Koha::Acquisition::Order->holds does not make sense to me. There is not hold
> placed on an order.

Well, on reading parcel.pl and those checks you added a patch to (thanks) I
noticed we could want to display a modal with the lists of holds for the
librarian to know what's going on. So an endpoint to fetch those related holds
didn't seem unrealistic ( GET /acq/orders/:order_id holds. And also, if we get
rid of the _count method we really need the holds method to retrieve the count.

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


More information about the Koha-bugs mailing list