[Koha-bugs] [Bug 28384] Add 'no_items' option to TransformMarcToKoha
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 19 13:02:51 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28384
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121146|0 |1
is obsolete| |
--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 121150
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121150&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)
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list