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@lists.koha-community.org Reporter: aleisha@catalyst.net.nz QA Contact: testopia@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.