Bug 34136: (QA follow-up) Perltidy

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
Katrin Fischer 2023-10-23 21:42:01 +00:00 committed by Tomas Cohen Arazi
parent 0ed87f732e
commit e598fa8f48
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -81,7 +81,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
my $session_id = $input->cookie('CGISESSID');
my $session = $session_id ? get_session($session_id) : undef;
$template->param( templates => Koha::Notice::Templates->search({ module => 'report' }) );
$template->param( templates => Koha::Notice::Templates->search( { module => 'report' } ) );
my $filter;
if ( $input->param("filter_set") or $input->param('clear_filters') ) {
@ -670,14 +670,15 @@ elsif ($phase eq 'Share'){
}
elsif ($phase eq 'Run this report'){
# execute a saved report
my $limit = $input->param('limit') || 20;
my $offset = 0;
my $report_id = $input->param('reports');
my @sql_params = $input->multi_param('sql_params');
my @param_names = $input->multi_param('param_name');
my $template_id = $input->param('template');
my $limit = $input->param('limit') || 20;
my $offset = 0;
my $report_id = $input->param('reports');
my @sql_params = $input->multi_param('sql_params');
my @param_names = $input->multi_param('param_name');
my $template_id = $input->param('template');
my $want_full_chart = $input->param('want_full_chart') || 0;
# offset algorithm
if ($input->param('page')) {
$offset = ($input->param('page') - 1) * $limit;