Bug 21957: Add a flag to ModBiblio to avoid linking auths if called from linker
authorNick Clemens <nick@bywatersolutions.com>
Wed, 5 Dec 2018 21:05:32 +0000 (21:05 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Apr 2019 13:44:37 +0000 (14:44 +0100)
commit09552018a9281a745f2d845bc150b882655ea313
treece95223ba63f88f31ac537c655c4c91471ddf404
parent7fd18db89def96f2b50e3ba4d89dcff97cca3c45
Bug 21957: Add a flag to ModBiblio to avoid linking auths if called from linker

To test:
1 - prove -v t/db_dependent/Biblio.t
2 - Set BiblioAddsAuthoorities and AutoCreateAuthorities
3 - Modify a biblio to add a heading with no existing auth record
4 - Ensure the record was created on saving
5 - Ensure that editing works as normal otherwise
6 - Run link_bibs_to_authorities
7 - Ensure results are as expected

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e600ae6c4b125ee40ce80346ce15f954a1fa424d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Biblio.pm
misc/link_bibs_to_authorities.pl
t/db_dependent/Biblio.t