]> git.koha-community.org Git - koha.git/commit
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)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 22 Sep 2015 18:00:28 +0000 (06:00 +1200)
commit4c7bd247ef456190199f941f5a4479e948341d70
tree3d73f608cc55e043d5312c2c66b8bf06c58655ef
parentb565d3a62a0ae7980ac58f653182e0e6c0ccf914
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>
(cherry picked from commit e15621fee2693059cce67882691ad8eae9a5c9b7)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
C4/Ris.pm