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

--- Comment #20 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 200839
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200839&action=edit
Bug 42404: (follow-up) Reuse item object to avoid redundant fetch in replace
mode

In item_id target mode, the item was fetched once to obtain the
biblionumber, then fetched again inside the replace block via
Koha::Items->find().  Store the first result and pass it through to
avoid the N+1 pattern.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to