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

(-)a/reports/guided_reports.pl (-1 / +4 lines)
Lines 829-837 elsif ($phase eq 'Run this report'){ Link Here
829
829
830
            my $totpages = int($total/$limit) + (($total % $limit) > 0 ? 1 : 0);
830
            my $totpages = int($total/$limit) + (($total % $limit) > 0 ? 1 : 0);
831
            my $url = "/cgi-bin/koha/reports/guided_reports.pl?reports=$report_id&phase=Run%20this%20report&limit=$limit";
831
            my $url = "/cgi-bin/koha/reports/guided_reports.pl?reports=$report_id&phase=Run%20this%20report&limit=$limit";
832
            if (@param_names) {
833
                $url = join('&param_name=', $url, map { URI::Escape::uri_escape_utf8($_) } @param_names);
834
            }
832
            if (@sql_params) {
835
            if (@sql_params) {
833
                $url = join('&sql_params=', $url, map { URI::Escape::uri_escape_utf8($_) } @sql_params);
836
                $url = join('&sql_params=', $url, map { URI::Escape::uri_escape_utf8($_) } @sql_params);
834
            }
837
            }
838
835
            $template->param(
839
            $template->param(
836
                'results' => \@rows,
840
                'results' => \@rows,
837
                'allresults' => \@allrows,
841
                'allresults' => \@allrows,
838
- 

Return to bug 21984