[Koha-bugs] [Bug 35815] New: [Elasticsearch] Fix indexing of bibliographic records when items are deleted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 16 03:24:32 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35815
Bug ID: 35815
Summary: [Elasticsearch] Fix indexing of bibliographic records
when items are deleted
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Tools
Assignee: koha-bugs at lists.koha-community.org
Reporter: aleisha at catalyst.net.nz
QA Contact: testopia at bugs.koha-community.org
Bibliographic records do not always get reindexed in Elasticsearch when items
are batch deleted. This means that search results show an inaccurate number of
remaining items.
To reproduce:
1. Spin up a Koha instance in your testing environment which uses Elasticsearch
2. Create a new bibliographic record and add three items to it
3. Do a search for your record that will return multiple results, so that you
are shown the search results. Confirm that the search results shows three items
are attached to the record.
4. Go to the record and select the checkbox for an item.
5. Click the link to Delete selected items. Confirm this again on the next
page.
6. Confirm the job is enqueued then completed. It should say your item has been
deleted.
7. Do a search for your record again so that you see it in the search results.
Notice the number of items has not been updated - it still says three --> BUG
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list