Bug 14245: Problems with RIS export in unimarc
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Thu, 21 May 2015 17:00:05 +0000 (14:00 -0300)
committerMason James <mtj@kohaaloha.com>
Fri, 2 Oct 2015 10:42:35 +0000 (23:42 +1300)
commitea22b83b3688b9dcbd91e369c17dfe9b924bcf44
treede4f7f234e4ad5c8d19476e32c716f172220b665
parent0d9b0f294888a1993bdb370dfb22a8885af66abf
Bug 14245: Problems with RIS export in unimarc

Variable $itype is used an all C4/Ris.pm to switch
between marc falvors, but is local and not passed along
as argument.

As a quick solution, is defined as global

To test:
1) On UNIMARC setup, export a record as RIS,
check that author (and other fields) are displayed
incorrectly

2) Apply the patch

3) Export again, improved results

4) Run t/Ris.t

There are other problems in this script, needs maintenance
(e.g. no Modern::Perl friendly)

Signed-off-by: Victor do Rosário <jvr@fct.unl.pt>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Mason James <mtj@kohaaloha.com>
C4/Ris.pm