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)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Wed, 16 Sep 2015 14:58:05 +0000 (11:58 -0300)
commite15621fee2693059cce67882691ad8eae9a5c9b7
tree6fc5c869fcb11798def387ea36eef554f3b210e2
parenta37b3bb7f76b5ddea7400f5268c592c0cc578a8c
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: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
C4/Ris.pm