Bug 12622: Fix export report as ods
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 22 Jul 2014 10:15:35 +0000 (12:15 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 26 Aug 2014 22:41:02 +0000 (22:41 +0000)
commit24be2de308729a79f4738d8a0ac7ecfd0ec54a68
treeb4d07b52920568ef92bb9f6140110830ef4e766d
parentc2ddcf83b64c1d23d3d9f83b40f578ca243e75bf
Bug 12622: Fix export report as ods

Bug 11679 introduces an ods export for reports.

It looks quite buggy:
1/ You get a Perl error if the report has no results
2/ The ods file contains 1 lines less than the total results.

Test plan:
After applying this patch, try to export a report which has no results
and verify you get an ods file with headers only.
Try to export a report which has a least 1 result and verify the
generated ods has the right number of lines.

Signed-off-by: Robert Higgins <robert.higgins@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes the reported problem, passes all tests and QA script.
Added the sign-off line for Robert.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
reports/guided_reports.pl