https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39337 --- Comment #19 from Olivia Reynolds <olivia.reynolds@openfifth.co.uk> --- Created attachment 203937 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203937&action=edit Bug 39337: (follow-up) Default to not suppressing OAI records In the case when a biblio is deleted, we should not suppress its orphaned records. Therefore, invert the conditions in the WHERE clause to not suppress the record if no biblio could be found. Test plan: 1. Enable the system preferences "OAI-PMH" and "OpacSuppression". Ensure "OpacSuppressionByIPRange" is blank. 2. Navigate to /cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=oai_dc 3. Select a displayed record, and delete its corresponding biblio. 4. Refresh the OAI page, verify the record has vanished. 5. Apply patch. 6. Refresh the OAI page, verify the record now appears and is marked as deleted. It may have moved to the top of the list. Sponsored-by: Open Fifth -- You are receiving this mail because: You are watching all bug changes.