Main Koha release repository https://koha-community.org
Find a file
Nick Clemens 5da5a2bbc5 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@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] Amended, replacing a tab character.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-07-12 15:47:34 +02:00
acqui Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
admin Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
api Bug 28480: Add q parameters for GET /patrons 2021-06-23 15:09:55 +02:00
authorities Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
basket
bin
C4 Bug 28384: Add 'no_items' option to TransformMarcToKoha 2021-07-12 15:47:34 +02:00
catalogue Bug 14237: Add individual bibliographic records to course reserves 2021-07-12 12:01:13 +02:00
cataloguing Bug 28606: Remove $DEBUG and $ENV{DEBUG} 2021-06-24 11:53:44 +02:00
circ Bug 20472: Add format field to the interface 2021-07-12 15:47:34 +02:00
clubs
course_reserves Bug 14237: (follow-up) Make the routines exclusively take itemnumber, biblionumber, or ci_id 2021-07-12 12:09:44 +02:00
debian Bug 27348: Fix test on ALTERNATE_INDEXER_DAEMON in koha-indexer 2021-06-21 12:07:28 +02:00
docs
errors Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
etc Bug 8280: Add koha set and item fields to pqf.properties 2021-06-21 14:01:50 +02:00
ill
installer Bug 20472: DBRev 21.06.00.010 2021-07-12 15:47:34 +02:00
Koha Bug 20472: DBIC schema changes 2021-07-12 15:47:34 +02:00
koha-tmpl Bug 27985: Add option to send a record to batch modification from details page 2021-07-12 15:47:34 +02:00
labels Bug 26340: Code simplification 2021-07-12 15:47:33 +02:00
lib/CGI/Session/Serialize
members Bug 26760: Escape URI parameters in redirect URI to paycollect.pl 2021-07-12 15:47:33 +02:00
misc Bug 27883: Add ability to preserve patron field from being overwritten by import 2021-07-12 15:47:33 +02:00
offline_circ Bug 28606: Remove $DEBUG and $ENV{DEBUG} 2021-06-24 11:53:44 +02:00
opac Bug 20472: Add format field to the interface 2021-07-12 15:47:34 +02:00
patron_lists
patroncards Bug 28606: Remove $DEBUG and $ENV{DEBUG} 2021-06-24 11:53:44 +02:00
plugins Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
pos Bug 28514: Remove getletter 2021-06-21 13:49:58 +02:00
reports Bug 28524: Escape 'rank' in cat_issues_top.pl 2021-07-06 10:12:58 +02:00
reserve Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
reviews Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
rotating_collections Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
serials Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
services Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
skel
suggestion Bug 28581: Use 'from_email_address' where appropriate 2021-06-23 15:09:55 +02:00
svc Bug 20472: Edit URL field on staff form 2021-07-12 15:47:34 +02:00
t Bug 28384: Add 'no_items' option to TransformMarcToKoha 2021-07-12 15:47:34 +02:00
tags Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
tmp/modified_authorities
tools Bug 27883: Add ability to preserve patron field from being overwritten by import 2021-07-12 15:47:33 +02:00
virtualshelves
xt
.editorconfig
.eslintrc.json
.gitignore Bug 20427: Convert OPAC LESS to SCSS 2018-08-09 15:17:07 +00:00
.htaccess
.mailmap
.perlcriticrc
.scss-lint.yml
about.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
app.psgi
changelanguage.pl
cpanfile
fix-perl-path.PL Bug 28606: Remove $DEBUG and $ENV{DEBUG} 2021-06-24 11:53:44 +02:00
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 20472: DBRev 21.06.00.010 2021-07-12 15:47:34 +02:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 22544: Clarify documentation and change param 'type' to 'location' 2021-07-06 12:17:28 +02:00
Makefile.PL
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo