[Koha-bugs] [Bug 28384] Add 'no_items' option to TransformMarcToKoha
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 25 10:47:25 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28384
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121150|0 |1
is obsolete| |
--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 122418
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122418&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>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
[EDIT] Amended, replacing a tab character.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list