Test plan:
0) Apply the patch
1) git grep Data::Printer
-> should return no results
2) Go to Reports -> Use saved - should work fine
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
if ( $op eq 'convert' ) {
my $report_id = $input->param('report_id');
my $report = C4::Reports::Guided::get_saved_report($report_id);
- warn $report_id;
- use Data::Printer colored => 1; warn p $report;
if ($report) {
my $updated_sql = C4::Reports::Guided::convert_sql( $report->{savedsql} );
C4::Reports::Guided::update_sql(