partial bugfix for 1534: Guided reports returning only the first ten results
authorPaul POULAIN <paul.poulain@biblibre.com>
Fri, 29 Feb 2008 17:09:48 +0000 (06:09 +1300)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 29 Feb 2008 17:59:35 +0000 (11:59 -0600)
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 <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Reports.pm

index 045e78f..02cfc9c 100644 (file)
@@ -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();