|
Lines 209-215
elsif ( $phase eq 'Edit SQL'){
Link Here
|
| 209 |
); |
209 |
); |
| 210 |
} |
210 |
} |
| 211 |
|
211 |
|
| 212 |
elsif ( $phase eq 'Update SQL' || $phase eq 'Update and run SQL' ){ |
212 |
elsif ( $phase eq 'update_sql' || $phase eq 'update_and_run_sql' ){ |
| 213 |
my $id = $input->param('id'); |
213 |
my $id = $input->param('id'); |
| 214 |
my $sql = $input->param('sql'); |
214 |
my $sql = $input->param('sql'); |
| 215 |
my $reportname = $input->param('reportname'); |
215 |
my $reportname = $input->param('reportname'); |
|
Lines 301-307
elsif ( $phase eq 'Update SQL' || $phase eq 'Update and run SQL' ){
Link Here
|
| 301 |
cache_expiry_units => $cache_expiry_units, |
301 |
cache_expiry_units => $cache_expiry_units, |
| 302 |
); |
302 |
); |
| 303 |
} |
303 |
} |
| 304 |
if ( $phase eq 'Update and run SQL' ) { |
304 |
if ( $phase eq 'update_and_run_sql' ) { |
| 305 |
print $input->redirect("/cgi-bin/koha/reports/guided_reports.pl?reports=$id&phase=Run%20this%20report"); |
305 |
print $input->redirect("/cgi-bin/koha/reports/guided_reports.pl?reports=$id&phase=Run%20this%20report"); |
| 306 |
} |
306 |
} |
| 307 |
} |
307 |
} |
| 308 |
- |
|
|