[Koha-patches] [PATCH 2/3] MT3815: Quickfix for CSV export (9999 rows limitation)

paul.poulain at biblibre.com paul.poulain at biblibre.com
Wed Jan 19 22:19:13 CET 2011


From: Matthias Meusburger <matthias.meusburger 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.1



More information about the Koha-patches mailing list