[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
Sat Nov 14 19:05:13 CET 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #113614|0                           |1
        is obsolete|                            |

--- Comment #4 from David Nind <david at davidnind.com> ---
Created attachment 113645
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113645&action=edit
Bug 26903: 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>

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


More information about the Koha-bugs mailing list