Bug 13308: The output format should be 'iso2709' instead of 'marc'
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 20 Nov 2014 14:13:28 +0000 (15:13 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 20 Nov 2014 21:10:44 +0000 (18:10 -0300)
commit9c71bf42275a263c3bca5d1c37e1cdcedb599ef6
tree17513e7ef568579523fff6a5e53b3b54a961e7fc
parent463d52ce1562903aff1097da3dfbb4db4d2de31c
Bug 13308: The output format should be 'iso2709' instead of 'marc'

In the template of the export tools, the value 'marc' is set for
the 'format' variable.
It should be 'iso2709'.

There was a mess in the tools/export.pl script.
2 variables did the same thing: $format and $output_format

This patch fixes that replacing $format with $output_format

Test plan:
Try to export biblio in iso2709 and csv using the export tools and from
the checkout list.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Before applying the patch, attemping an MARC export from tools/export.pl
resulted in an error. After the patch the export works correctly.
Exports from the checkouts page also work correctly.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script. Also tested authority export.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
tools/export.pl