]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 5 Nov 2021 12:22:01 +0000 (08:22 -0400)
commit395a342548ba1658ce40956e3f22d6e906f461c6
treedef0c249daf2005086602a3cfaa575f09d2e24e4
parent21347f064db47bbd49a1ce4a503ad2f9e6c9e62e
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt