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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 5 15:38:06 CET 2018


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

David Gustafsson <glasklas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #70185|0                           |1
        is obsolete|                            |

--- Comment #43 from David Gustafsson <glasklas at gmail.com> ---
Created attachment 82870
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82870&action=edit
Bug 19884 - Improve performance of GetItem

Provide optimized search_unblessed method for Koha::Items to increase
performance of GetItem. Also extend GetMarcItem() to also accept an item
record as second parameter. This way an extra call to GetItem() can be
avoided by passing an item record directly instead of an item number.

Also add new function GetItems() making it possible to load multiple
items at once, which is more efficient than loading them one by one.

How to test:
1) Run tests in t/db_dependent/Items.t

Sponsored-by: Gothenburg University Library

Add new functions GetMarcBiblios and EmbedItemsInMarcBiblios for embedding
items in multiple records at once for improved performance

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


More information about the Koha-bugs mailing list