[Koha-bugs] [Bug 19884] Improve performance of GetItem

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 28 15:19:14 CET 2017


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

--- Comment #11 from David Gustafsson <glasklas at gmail.com> ---
Hi! Yes I read the comment. As I wrote in the first comment I usually frown
upon this kind of optimization myself, but since the speedup is so substantial,
and we (at our library) really need to get indexing done during the night, this
patch is a requirement for our needs. The search_unblessed code is placed in
the Koha::Items for clarity, since it approximates the behaviour of
Koha::Items::search. DBIx also uses DBI internally, so in my opinion this
communicates the purpose of this optimization in more obvious way than if the
SQL would reside in GetItems for example. Also, one might want to use this
method in other places where item objects are fetched (through ->search for
example) and unblessed.

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


More information about the Koha-bugs mailing list