]> git.koha-community.org Git - koha.git/commit
Bug 18070: Deleting an authority should update the linked biblio records
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 31 Jan 2017 10:46:21 +0000 (11:46 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 3 Mar 2017 18:12:08 +0000 (18:12 +0000)
commit6572ee07dbcd9fde4169c6b9e3f3f8a8e0eaf516
treedeae69c037e1a13805ee59ac432b343ac8cc9467
parent9b92a494e6d91297f460eb8ed073a6d3dec5b2d9
Bug 18070: Deleting an authority should update the linked biblio records

Adding a test where we delete an authority and prove that the linked
biblio still contains a reference to it.

Note: Currently, you can only delete a used authority from Tools,
batch record deletion. If you do, the biblio records will still
contain references to the deleted authority.

Test plan:
[1] Run t/db_dependent/Authorities/Merge.t
    Last test should fail: not ok 1 - Field 609 should be gone too

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Authorities/Merge.t