Koha-clms/Koha/SearchEngine
Marcel de Rooy d19572ea76 Bug 25265: (QA follow-up) Check server type in Elasticsearch::index_records
Doing the same change as previously (renaming biblionumber), but fixing
at the same the record fetch. If (theoretically) an authority is passed
without a record, it would have fetched a biblio record.

Test plan:
You need Elasticsearch here.
Replaced this line in AddAuthority:
    $indexer->index_records( $authid, "specialUpdate", "authorityserver", $record );
by
    $indexer->index_records( $authid, "specialUpdate", "authorityserver", undef );
And updated an authority record. Check if you can search for the change.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

JD amended patch: remove trailing whitespace

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-28 11:07:24 +02:00
..
Elasticsearch Bug 25265: (QA follow-up) Check server type in Elasticsearch::index_records 2020-09-28 11:07:24 +02:00
Zebra Bug 25265: (QA follow-up) Rename biblionumber in ModZebra, index_records 2020-09-28 10:10:08 +02:00
Elasticsearch.pm Bug 24807: (follow-up) Add support for spaces as unknown characters 2020-09-18 11:21:31 +02:00
Indexer.pm Bug 25265: Prevent double reindex of the same item in batchmod 2020-09-28 10:10:08 +02:00
QueryBuilder.pm Bug 12478: allow more granular sorting configuration 2016-04-26 20:20:08 +00:00
Search.pm Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00