[Koha-bugs] [Bug 19279] Performance of linked items in search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 16 15:18:25 CET 2018


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #4 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 71777
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71777&action=edit
Bug 19279 - performance of linked items in search

When catalog has fields 773 (461 in UNIMARC), those linked items are fetched
for display in search results.
Look like the code could be more performant by replacing item search
by $9 with direct call with GetMarcItem().

Test plan :
- Get a record A with a lot of items
- Create a new record B
- Create a linked items from B to A with a field 773 (461 in UNIMARC) :
biblionumber in $0 and itemnumber in $9
- Display B record details
=> Compare execution times with and without patch

Signed-off-by: Hugo Agud <hagud at orex.es>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list