]> git.koha-community.org Git - koha.git/commit
Bug 28573: Replace authority record with Z39.50/SRU creates new authority record
authorGeorge Veranis <gveranis@dataly.gr>
Tue, 12 Oct 2021 21:01:57 +0000 (23:01 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Nov 2021 13:57:00 +0000 (14:57 +0100)
commitef335f252a37c46f5a92ee74e1eb53d49cc2899e
tree411b089dcaf3e9c3849a32fd73807a82bb726747
parent1bfa981a5e5bd80617e5065e010782b06133b6d2
Bug 28573: Replace authority record with Z39.50/SRU creates new authority record

When trying to replace an authority record with Z39.50/SRU then a new authority
record is created without deleting the old one and not link the new one with
any record.

This patch fixes that.

Test plan:

1) Try to catalogue a new authority record from cataloguing form.
2) Try to replace that authority record with Z39.50/SRU, then a new authority
record is created and also you have that one that you tried to replace.
3) Apply the patch.
4) Try to replace the authority from step1 with Z39.50/SRU, then is working as
expected.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Eric Phetteplace <phette23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt