Bug 36636

Summary: Set leader 05 to d (deleted) for records in deletedbiblio_metadata
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: MARC Bibliographic data supportAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: martin.renvoize, phil
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30888
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2024-04-18 07:37:50 UTC
It seems that we should set leader 05 to 'd' when filling deletedbiblio_metadata.metadata.

See also bug 30888. The routine $authority->move_to_deleted sets the leader position 05 to 'd' for authorities.
Comment 1 Katrin Fischer 2024-05-12 13:04:36 UTC
I think that would make sense.
When using OAI-PMH these records I believe are harvested with the 'd' already.
Comment 2 Martin Renvoize (ashimema) 2025-01-16 11:28:26 UTC
We probably would want a simple restore routine if we add this.. that undoes the 05 change if restoring a biblio from deleted.  I know people do restore using SQL and this change would make that harder.