https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14026

--- Comment #4 from Marcel de Rooy <[email protected]> ---
Created attachment 59685
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59685&action=edit
Bug 14026: Extend sub merge to remove fields for deleted authorities

In order to accomplish this, we need to add some additional checks in
the merge routine. The actual change to remove the field, is quite
small.

Furthermore, we need to add a merge call in DelAuthority and adjust
the merge cron job accordingly.

The change is well supported by additional tests, including a simulation
of postponed removal via cron, if dontmerge is enabled.

Test plan:
[1] Run t/db_dependent/Authorities/Merge.t
[2] Look for an authority with a few linked biblios.
    Delete this authority: the quickest way currently is URL manipulation:
    /cgi-bin/koha/authorities/authorities-home.pl?op=delete&authid=[XXX]
    Now check the biblio records; the link should be removed.

Note: Since merge can handle deleting authorities now, we could consider
adding the option 'Delete' on the Actions menu for authorities having
linked biblios. The delete action also needs CSRF protection. Both should
be handled on new reports.

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to