Bug 15381: Use Koha::Authority::Types in some other places
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 Dec 2015 11:59:02 +0000 (11:59 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 31 Dec 2015 18:59:02 +0000 (18:59 +0000)
commite28d54f7d9efef42bc47317b814298aa444bb9d7
treefbc3b99ba3178999e5d76c41ad626ef7aa519392
parent5fc9a42c7c7a89a7ddd91b73639654e16da29980
Bug 15381: Use Koha::Authority::Types in some other places

There are 3 place where the auth_types table were requested directly
from the script or a subroutine.  These 3 occurrences are easy to
replace with the new module.

Test plan:
1/ Search for authorities and use the "did you mean" feature for
authorities.
Focus on the authtypecode
2/ Edit authority and biblio frameworks.
The "Thesaurus" dropdown list should be correctly populated (UNIMARC
only).

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
C4/AuthoritiesMarc.pm
admin/auth_subfields_structure.pl
admin/marc_subfields_structure.pl