Bug 40998 - Fix batch authority deletions of linked authorities to either unlink or prevent the process
Summary: Fix batch authority deletions of linked authorities to either unlink or preve...
Status: RESOLVED DUPLICATE of bug 24125
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-10 16:10 UTC by Enica Davis
Modified: 2025-10-14 16:20 UTC (History)
5 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enica Davis 2025-10-10 16:10:35 UTC
When batch deleting authorities that are still linked to the records, the bibliographic MARC tags associated with those authorities are also deleted.

It would be helpful if:

a) Koha could automatically unlink these authorities upon batch deletion, preserving the bib MARC tags.

OR

b) Koha could prevent them from happening altogether.
Comment 1 Angela Berrett 2025-10-10 19:16:08 UTC
Could we make this a choice if we want the info in the bibs to be deleted? Sometimes we are deleting authorities because they are completely wrong and we want the info removed from the bib records.  I can see a use case for keeping that info in the bib records, too.  If we can have a toggle to say "delete all linked data" for it to erase what is in the bib records that would be really helpful with this enhancement.
Comment 2 Phil Ringnalda 2025-10-13 21:15:25 UTC
There is an option for b), just not very clear and easily forgotten: when you get to the step that lists all the things you are about to delete, clicking "Clear used authorities" unchecks the ones which are still linked.

*** This bug has been marked as a duplicate of bug 24125 ***