]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 25 Jan 2016 15:42:19 +0000 (16:42 +0100)
commit0cde2e503ed2d351409018c9b1e4f5440e607ba5
tree5055796404587443de07f3496c9c3a31724da18c
parentca8194acf9fea09b38410a10c349f141c1a6d1c5
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>
(cherry picked from commit 44bd1995bf8577713a7d6fca83a52ed14cd6d7fa)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Biblio.pm
authorities/authorities.pl
authorities/merge.pl
cataloguing/addbiblio.pl
cataloguing/merge.pl