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)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 18 Apr 2019 10:02:03 +0000 (10:02 +0000)
commite600ae6c4b125ee40ce80346ce15f954a1fa424d
treeb3832399a1ed127c691be65017cfea352f83e836
parentd9cefbdd19c35ae83d0ffa59ca99aaf4bc775cac
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>
C4/Biblio.pm
misc/link_bibs_to_authorities.pl
t/db_dependent/Biblio.t