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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 31 12:53:18 CET 2018


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

Hugo Agud <hagud at orex.es> changed:

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

--- Comment #3 from Hugo Agud <hagud at orex.es> ---
Created attachment 71083
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71083&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>

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


More information about the Koha-bugs mailing list