[Koha-bugs] [Bug 24027] Adding multiple items is slow

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 7 22:39:15 CEST 2020


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

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

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

--- Comment #34 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Lets implement pagination as all the framework is completed to accomplish that!
No more Max items.

For references on using the API to render (paginated) datatables, see bug
20212. The important bits are embedding related objects for rendering and
filtering, and rendering properly :-D So you need to add embeds and build the
right renderers for each column.

Regarding my work on the performance front, I identified this situations:
- We retrieve (cached or not) the frameworks inside loops without a real need,
and really deep in the code. Take a biblio, as the outer situation: it only has
one framework assigned, we can pass it down to the last portion of the code we
call instead of doing it inside the loop (and many times as we do).
- The same applies for code related to OpacHiddenItems and friends. Bug 23247
is a good example of how I think it should be done. It might still need
fetching the framework outside now that I look at it with fresh eyes :-D

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


More information about the Koha-bugs mailing list