View | Details | Raw Unified | Return to bug 12214
Collapse All | Expand All

(-)a/C4/Reports/Guided.pm (+1 lines)
Lines 512-517 sub execute_query { Link Here
512
512
513
    my $sth = C4::Context->dbh->prepare($sql);
513
    my $sth = C4::Context->dbh->prepare($sql);
514
    $sth->execute(@$sql_params, $offset, $limit);
514
    $sth->execute(@$sql_params, $offset, $limit);
515
    return ( $sth, { queryerr => $sth->errstr } ) if ($sth->err);
515
    return ( $sth );
516
    return ( $sth );
516
    # my @xmlarray = ... ;
517
    # my @xmlarray = ... ;
517
    # my $url = "/cgi-bin/koha/reports/guided_reports.pl?phase=retrieve%20results&id=$id";
518
    # my $url = "/cgi-bin/koha/reports/guided_reports.pl?phase=retrieve%20results&id=$id";
(-)a/reports/guided_reports.pl (-2 / +1 lines)
Lines 753-759 elsif ($phase eq 'Run this report'){ Link Here
753
                'execute' => 1,
753
                'execute' => 1,
754
                'name'    => $name,
754
                'name'    => $name,
755
                'notes'   => $notes,
755
                'notes'   => $notes,
756
                'errors'  => $errors,
756
                'errors'  => defined($errors) ? [ $errors ] : undef,
757
                'pagination_bar'  => pagination_bar($url, $totpages, $input->param('page')),
757
                'pagination_bar'  => pagination_bar($url, $totpages, $input->param('page')),
758
                'unlimited_total' => $total,
758
                'unlimited_total' => $total,
759
                'sql_params'      => \@sql_params,
759
                'sql_params'      => \@sql_params,
760
- 

Return to bug 12214