]> git.koha-community.org Git - koha.git/commit
Bug 15572: Follow-up to fix error on authority creation
authorFrédéric Demians <f.demians@tamil.fr>
Tue, 12 Jan 2016 10:53:11 +0000 (11:53 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 25 Jan 2016 11:23:16 +0000 (12:23 +0100)
commit44bd1995bf8577713a7d6fca83a52ed14cd6d7fa
tree20384b4bdb118db06663f74450828786ae290b7d
parentf0c36157ef13ad7a8f4238128cb145d94b9c9504
Bug 15572: Follow-up to fix error on authority creation

Bug 6657 modified the way C4::Biblio::TransformHtmlToMarc operates in order to
solve an issue occuring during biblio record cataloguing. But this function is
also used by authorities cataloguing, and the code in this case is irrelevante.
This followup allows to distinguish for which kind of record
TransformHtmlToMarc is called: biblio/authority.

A bug appears in authority creation without this patch in some circunstances:
when authid is linked to 001 field.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Tested with a new authority record

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
(cherry picked from commit 2ca9bd5dc247ae26225cbc299c1bc0883bc444e0)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Biblio.pm
authorities/authorities.pl
authorities/merge.pl
cataloguing/addbiblio.pl
cataloguing/merge.pl