From fb004545c70b1315387fc517bc7b006ef940969e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 8 Feb 2024 12:11:00 +0100 Subject: [PATCH] Bug 34478: op =~ ^cud- - Manual - cud-do_it => do_it Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 2 +- opac/opac-topissues.pl | 2 +- reports/acquisitions_stats.pl | 2 +- reports/bor_issues_top.pl | 2 +- reports/borrowers_out.pl | 2 +- reports/borrowers_stats.pl | 2 +- reports/cash_register_stats.pl | 2 +- reports/cat_issues_top.pl | 2 +- reports/catalogue_out.pl | 2 +- reports/catalogue_stats.pl | 2 +- reports/issues_avg_stats.pl | 2 +- reports/issues_stats.pl | 2 +- reports/manager.pl | 2 +- reports/reserves_stats.pl | 2 +- reports/serials_stats.pl | 2 +- tools/viewlog.pl | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index d621e06957..6634c6ce2a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -237,7 +237,7 @@ - +
diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl index ee8be6fa99..43830ccfd5 100755 --- a/opac/opac-topissues.pl +++ b/opac/opac-topissues.pl @@ -54,7 +54,7 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user( ); my $dbh = C4::Context->dbh; # Displaying results -my $do_it = $input->param('cud-do_it') || 0; # as form been posted +my $do_it = $input->param('do_it') || 0; # as form been posted my $limit = $input->param('limit'); $limit = 10 unless ($limit && $limit =~ /^\d+$/); # control user input for SQL query $limit = 100 if $limit > 100; diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl index 6254896ac1..2c90fe32cc 100755 --- a/reports/acquisitions_stats.pl +++ b/reports/acquisitions_stats.pl @@ -40,7 +40,7 @@ Plugin that shows a stats on borrowers =cut my $input = CGI->new; -my $do_it = $input->param('cud-do_it'); +my $do_it = $input->param('do_it'); my $fullreportname = "reports/acquisitions_stats.tt"; my $line = $input->param("Line"); my $column = $input->param("Column"); diff --git a/reports/bor_issues_top.pl b/reports/bor_issues_top.pl index cfbd23bc0a..439db23810 100755 --- a/reports/bor_issues_top.pl +++ b/reports/bor_issues_top.pl @@ -38,7 +38,7 @@ plugin that shows a stats on borrowers my $input = CGI->new; my $fullreportname = "reports/bor_issues_top.tt"; -my $do_it = $input->param('cud-do_it'); +my $do_it = $input->param('do_it'); my $limit = $input->param("Limit"); my $column = $input->param("Criteria"); my @filters = $input->multi_param("Filter"); diff --git a/reports/borrowers_out.pl b/reports/borrowers_out.pl index d6314cb091..b5271d98a5 100755 --- a/reports/borrowers_out.pl +++ b/reports/borrowers_out.pl @@ -38,7 +38,7 @@ Plugin that shows a stats on borrowers =cut my $input = CGI->new; -my $do_it=$input->param('cud-do_it'); +my $do_it=$input->param('do_it'); my $fullreportname = "reports/borrowers_out.tt"; my $limit = $input->param("Limit"); my $column = $input->param("Criteria"); diff --git a/reports/borrowers_stats.pl b/reports/borrowers_stats.pl index fc460f30dc..4e0f645999 100755 --- a/reports/borrowers_stats.pl +++ b/reports/borrowers_stats.pl @@ -42,7 +42,7 @@ plugin that shows a stats on borrowers =cut my $input = CGI->new; -my $do_it=$input->param('cud-do_it'); +my $do_it=$input->param('do_it'); my $fullreportname = "reports/borrowers_stats.tt"; my $line = $input->param("Line"); my $column = $input->param("Column"); diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index e2bbceffdb..1dde63b114 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -39,7 +39,7 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ flagsrequired => {reports => '*'}, }); -my $do_it = $input->param('cud-do_it'); +my $do_it = $input->param('do_it'); my $output = $input->param("output"); my $basename = $input->param("basename"); my $transaction_type = $input->param("transaction_type") || 'ACT'; diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl index 550466bc64..d3d1e067b9 100755 --- a/reports/cat_issues_top.pl +++ b/reports/cat_issues_top.pl @@ -36,7 +36,7 @@ plugin that shows a stats on borrowers =cut my $input = CGI->new; -my $do_it=$input->param('cud-do_it'); +my $do_it=$input->param('do_it'); my $fullreportname = "reports/cat_issues_top.tt"; my $limit = $input->param("Limit"); my $column = $input->param("Criteria"); diff --git a/reports/catalogue_out.pl b/reports/catalogue_out.pl index c4b9f26b29..c03dcb2d80 100755 --- a/reports/catalogue_out.pl +++ b/reports/catalogue_out.pl @@ -32,7 +32,7 @@ Report that shows unborrowed items. =cut my $input = CGI->new; -my $do_it = $input->param('cud-do_it'); +my $do_it = $input->param('do_it'); my $limit = $input->param("Limit") || 10; my $column = $input->param("Criteria"); my @filters = $input->multi_param("Filter"); diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl index 7b5f2cfd4f..b4d72a384b 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -42,7 +42,7 @@ plugin that shows a stats on borrowers our $debug = 0; my $input = CGI->new; my $fullreportname = "reports/catalogue_stats.tt"; -my $do_it = $input->param('cud-do_it'); +my $do_it = $input->param('do_it'); my $line = $input->param("Line"); my $column = $input->param("Column"); my $cellvalue = $input->param("Cellvalue"); # one of 'items', 'biblios', 'deleteditems' diff --git a/reports/issues_avg_stats.pl b/reports/issues_avg_stats.pl index d29cc6565a..e1270c9b7c 100755 --- a/reports/issues_avg_stats.pl +++ b/reports/issues_avg_stats.pl @@ -37,7 +37,7 @@ plugin that shows a stats on borrowers =cut my $input = CGI->new; -my $do_it=$input->param('cud-do_it'); +my $do_it=$input->param('do_it'); my $fullreportname = "reports/issues_avg_stats.tt"; my $line = $input->param("Line"); my $column = $input->param("Column"); diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl index b6a3d7e84c..52e904ed5f 100755 --- a/reports/issues_stats.pl +++ b/reports/issues_stats.pl @@ -43,7 +43,7 @@ Plugin that shows circulation stats my $input = CGI->new; my $fullreportname = "reports/issues_stats.tt"; -my $do_it = $input->param('cud-do_it'); +my $do_it = $input->param('do_it'); my $line = $input->param("Line"); my $column = $input->param("Column"); my @filters = $input->multi_param("Filter"); diff --git a/reports/manager.pl b/reports/manager.pl index 324a3b5af9..ff174f00d3 100755 --- a/reports/manager.pl +++ b/reports/manager.pl @@ -26,7 +26,7 @@ use C4::Output qw( output_html_with_http_headers ); my $input = CGI->new; my $report_name=$input->param("report_name"); -my $do_it=$input->param('cud-do_it'); +my $do_it=$input->param('do_it'); my $fullreportname = "reports/".$report_name.".tt"; my @values = $input->multi_param("value"); my ($template, $borrowernumber, $cookie) diff --git a/reports/reserves_stats.pl b/reports/reserves_stats.pl index 43329e00e5..103ab62356 100755 --- a/reports/reserves_stats.pl +++ b/reports/reserves_stats.pl @@ -45,7 +45,7 @@ Plugin that shows reserve stats my $input = CGI->new; my $fullreportname = "reports/reserves_stats.tt"; -my $do_it = $input->param('cud-do_it'); +my $do_it = $input->param('do_it'); my $line = $input->param("Line"); my $column = $input->param("Column"); my $calc = $input->param("Cellvalue"); diff --git a/reports/serials_stats.pl b/reports/serials_stats.pl index 59f4920e59..c6254241c1 100755 --- a/reports/serials_stats.pl +++ b/reports/serials_stats.pl @@ -35,7 +35,7 @@ plugin that shows a stats on serials my $input = CGI->new; my $templatename = "reports/serials_stats.tt"; -my $do_it = $input->param("cud-do_it"); +my $do_it = $input->param("do_it"); my $bookseller = $input->param("bookseller"); my $branchcode = $input->param("branchcode"); my $expired = $input->param("expired"); diff --git a/tools/viewlog.pl b/tools/viewlog.pl index dc9b662f10..9db4e430ed 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -44,7 +44,7 @@ plugin that shows stats my $input = CGI->new; -my $do_it = $input->param('cud-do_it'); +my $do_it = $input->param('do_it'); my @modules = $input->multi_param("modules"); my $user = $input->param("user") // ''; my @actions = $input->multi_param("actions"); -- 2.39.5