[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:43:39 CET 2018


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

David Gustafsson <glasklas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #70606|0                           |1
        is obsolete|                            |
  Attachment #82870|0                           |1
        is obsolete|                            |

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

Add new subs GetMarcBiblios() and EmbedItemsInMarcBiblios() for embedding
items in multiple records at once for improved performance. Add new sub
GetItems() making it possible to load multiple items at once in the same
manner.

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.

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

Sponsored-by: Gothenburg University Library

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


More information about the Koha-bugs mailing list