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)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 15 Oct 2018 13:11:53 +0000 (13:11 +0000)
commit1a8e1165ca7abf9e2b7e5c7de0cdf26cbd4e30ac
treef104b0e70265c2728a8e7440cd521aa7ee06754e
parent1fddd295b8e83b60f2b838f09f3175c5acfeec28
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>
C4/Biblio.pm
acqui/addorderiso2709.pl
acqui/neworderempty.pl
cataloguing/addbiblio.pl