Bug 15381: Remove getauthtypes and getauthtype
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 Dec 2015 13:19:53 +0000 (13:19 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 31 Dec 2015 18:59:02 +0000 (18:59 +0000)
commit7283069a9d3b2ffb2edc31022d96bb4aea107098
tree87e6c4824b765aa51cdc42e7f11a61e01e2a4e27
parente28d54f7d9efef42bc47317b814298aa444bb9d7
Bug 15381: Remove getauthtypes and getauthtype

These 2 subroutines are now not necessary anymore, we can use
Koha::Authority::Types to retrieve the authority types.

This patch won't be easy to test. Indeed, a lot of file are updated.
To test it I would suggest to focus on the merge authority

You should also confirm that the authtypecode and the authtypetext
values are correctly displayed when navigating in the authority module.

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
18 files changed:
C4/AuthoritiesMarc.pm
C4/Koha.pm
admin/auth_tag_structure.pl
authorities/auth_finder.pl
authorities/authorities-home.pl
authorities/authorities.pl
authorities/detail-biblio-search.pl
authorities/detail.pl
authorities/merge.pl
cataloguing/value_builder/unimarc_field_210c.pl
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
opac/opac-authorities-home.pl
opac/opac-authoritiesdetail.pl
tools/export.pl