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

--- Comment #1 from Nick Clemens <[email protected]> ---
Created attachment 121146
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121146&action=edit
Bug 28384: Add 'no_items' option to TransformMarcToKoha

This patch adds a new option 'no_items' and uses it in the
C4::Search::searchResults
routine. We don't use the item info fetched here, so skipping those lines saves
us time.

Additionally, I fix an incorrect FIXME comment, and pass the ISBN returned by
the routine above
into GetNormalizedISBN to save another lookup

TO test:
1 - Enable AmazonCoverImages system preference
2 - Search staff client with a term that returns books with covers
3 - Apply patch
4 - prove -v t/db_dependent/Biblio/TransformMarcToKoha.t
5 - Confirm searching works
6 - Confirm Amazon images display (normalized_isbn is used for these)

-- 
You are receiving this mail because:
You are the assignee for the bug.
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