Bug 21365: Call BiblioAutoLink from AddBiblio and ModBiblio
authorEre Maijala <ere.maijala@helsinki.fi>
Sun, 16 Sep 2018 22:13:55 +0000 (01:13 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 17 Oct 2018 10:31:33 +0000 (11:31 +0100)
commit395d0965cc115ace3daab7cc6ec8ad4832a50411
tree1c3764aef96b86eb975925fed12ee6d69d92cc66
parent4092461ec990882f204d1431e69fd6d6a70d0d1e
Bug 21365: Call BiblioAutoLink from AddBiblio and ModBiblio

This makes e.g. the advanced MARC editor, and anything that uses AddBiblio or
ModBiblio honor BiblioAddsAuthorities.

To test:
1. Make sure BiblioAddsAuthorities and AutoCreateAuthorities preferences are enabled.
2. Add a new record using advanced editor (enable EnableAdvancedCatalogingEditor to
use it), include a previously non-existing author.
3. Save the record and observe the author get an authority number.
4. Add another author, save the record and make sure it also gets an authority number.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 1a8e1165ca7abf9e2b7e5c7de0cdf26cbd4e30ac)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Biblio.pm
acqui/addorderiso2709.pl
acqui/neworderempty.pl
cataloguing/addbiblio.pl