]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 28 Oct 2012 20:29:01 +0000 (09:29 +1300)
commit216251e52467cfa3540f16c816ba94c5c0bd499d
tree23a53e99e797d4b240b5200babf7c38c7a0c7c4a
parent32e12765d2e986b5863e90c704ceb63d7b98cb3b
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>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Biblio.pm