[Koha-bugs] [Bug 26903] Authority records not being indexed in Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 10 12:43:30 CET 2020


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

--- Comment #10 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 114299
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114299&action=edit
Bug 26903: [20.05.x] Pass record ids and records through to update_index when
passed to index_records

When both a record and record_id are passed to index_records the data should be
passed through
to update_index. We missed copying over the record ids to the variable we use
as a check.

To test:
1 - Set searchEngine system preference to Elasticsearch
2 - Reindex your db
3 - Search authorities
4 - Edit a record and add 'testwaffle' to the main heading
5 - Search authorities for 'testwaffle' - no results
6 - Apply patch
7 - Edit the record again, change 'testwaffle' to 'testpancake'
8 - Search authorities for 'testpancake' - result!
9 - Confirm imported authorities and authorities added via Z39 are correctly
indexed

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

Bug 26903: Unit tests

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list