[Koha-patches] [PATCH] [SIGNED-OFF] Bug 6028 : MT3815: Quickfix for CSV export (9999 rows limitation)
Stéphane Delaune
stephane.delaune at biblibre.com
Wed Apr 6 16:39:36 CEST 2011
From: Matthias Meusburger <matthias.meusburger at biblibre.com>
Signed-off-by: Stéphane Delaune <stephane.delaune at biblibre.com>
---
C4/Reports/Guided.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm
index 7231457..0da7c13 100644
--- a/C4/Reports/Guided.pm
+++ b/C4/Reports/Guided.pm
@@ -432,7 +432,7 @@ sub execute_query ($;$$$) {
return;
}
$offset = 0 unless $offset;
- $limit = 9999 unless $limit;
+ $limit = 999999 unless $limit;
$debug and print STDERR "execute_query($sql, $offset, $limit)\n";
if ($sql =~ /;?\W?(UPDATE|DELETE|DROP|INSERT|SHOW|CREATE)\W/i) {
return (undef, { sqlerr => $1} );
--
1.7.0.4
More information about the Koha-patches
mailing list