From 776352496952410d62501763dffd2f5b3fc13dad Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Sat, 1 Mar 2008 06:09:48 +1300 Subject: [PATCH] partial bugfix for 1534: Guided reports returning only the first ten results Next step would be to add a checkbox to have everything on screen whatever the consequences (the user is warned) Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Reports.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Reports.pm b/C4/Reports.pm index 045e78f75a..02cfc9c3eb 100644 --- a/C4/Reports.pm +++ b/C4/Reports.pm @@ -326,10 +326,10 @@ sub execute_query { my $dbh = C4::Context->dbh(); # take this line out when in production - if ($format eq 'url'){ + if ($format eq 'csv' or $format eq 'tab'){ } else { - $sql .= " LIMIT 10"; + $sql .= " LIMIT 20"; } my $sth = $dbh->prepare($sql); $sth->execute(); -- 2.20.1