[Koha-bugs] [Bug 20936] Holds history for patrons in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 10 14:45:37 CET 2020


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

--- Comment #91 from Agustín Moyano <agustinmoyano at theke.io> ---
(In reply to Jonathan Druart from comment #86)
> (In reply to Jonathan Druart from comment #85)
> > What happened between May (comment 74) and now? Did we fix all the things we
> > needed?
> 
> Ok, got it, we are not using the REST API.
> 
> The controller script is weird. We are retrieving all the holds and then
> limit the size of the array. We will face performance issues without the
> benefit (having the info on the UI).

We are retrieving all holds from a single patron. The controller looks weird
because it grabs current holds and old holds, join and sort them and then limit
the result.. When I coded this I could not use client side pagination, because
unlike staff interface, there are no css classes prepared for datatables
controles and it looked pretty ugly.

I do not believe we'll face performance issues.. even if a patron placed 500
holds, penalties would be marginal.

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


More information about the Koha-bugs mailing list