]> git.koha-community.org Git - koha.git/commit
Bug 8823: CatalogModuleRelink Creates Multiple Links between Bib and Auth record
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 26 Sep 2012 21:03:28 +0000 (17:03 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Sun, 28 Oct 2012 18:27:27 +0000 (19:27 +0100)
commit1d5b614d8b4ca8b39a2ce44e6430e3b98bc141e5
tree75de58da03ae68d2ef19aafe441a2ead9fede26a
parent7f628b12d46c56c44e18ec4b68a75e6ec77713aa
Bug 8823: CatalogModuleRelink Creates Multiple Links between Bib and Auth record

On 3.8.x, it was possible for multiple automatically generated
authorities to be linked to a single heading. This patch deletes
previous links from headings prior to linking them to
automatically-generated headings. This patch also corrects a
potential problem wherein multiple authorities might be generated if
a record is edited repeatedly in quick succession. The latter problem
exists on Master and 3.6.x as well, and the code that corrects the
multiple linkages is equally applicable if seemingly unnecessary.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Biblio.pm