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

--- Comment #10 from Nick Clemens <[email protected]> ---
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 <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

Bug 26903: Unit tests

Signed-off-by: David Nind <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to