]> git.koha-community.org Git - koha.git/commit
Bug 18269: Move field mappings related code to Koha::FieldMapping[s]
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 13 Mar 2017 21:17:13 +0000 (18:17 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 31 Mar 2017 10:20:00 +0000 (10:20 +0000)
commitafe3fa1d071aae2078cd3c52ad1b7e242ddcf3ef
tree1f2bd60859d97d95c4a9fa52f0b41042a5bb3332
parent73c83b51c2041bd7eb3653f6395d907f4b51eff1
Bug 18269: Move field mappings related code to Koha::FieldMapping[s]

The 3 subroutines GetFieldMapping, SetFieldMapping and
DeleteFieldMapping from the C4::Biblio module were only used from the
field mappings admin page.
They can easily replaced with new packages Koha::FieldMappings based on
Koha::Object[s]

Test plan:
Add and delete field mappings (admin/fieldmapping.pl, Home ›
Administration › Keyword to MARC mapping).
Add an existing mapping > Nothing should be added

Note that this page has not been rewritten and you will not get any
feedbacks, but it's not the goal of this page to improve it.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Biblio.pm
admin/fieldmapping.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/fieldmapping.tt
t/db_dependent/Charset.t