From 7379014e2b3e58e134e538b34c93eedf7a9c6b97 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 26 Jan 2024 10:06:20 +0100 Subject: [PATCH] Bug 34478: Rename action with op - admin/columns_settings Signed-off-by: Jonathan Druart --- admin/columns_settings.pl | 8 ++++---- .../prog/en/modules/admin/columns_settings.tt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/admin/columns_settings.pl b/admin/columns_settings.pl index b0498d6ad2..2a930ace36 100755 --- a/admin/columns_settings.pl +++ b/admin/columns_settings.pl @@ -17,9 +17,9 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( } ); -my $action = $input->param('action') // 'list'; +my $op = $input->param('action') // 'list'; -if ( $action eq 'cud-save' ) { +if ( $op eq 'cud-save' ) { my $module = $input->param('module'); my @columnids = $input->multi_param("columnid"); my @columns; @@ -68,10 +68,10 @@ if ( $action eq 'cud-save' ) { } } - $action = 'list'; + $op = 'list'; } -if ( $action eq 'list' ) { +if ( $op eq 'list' ) { my $modules = C4::Utils::DataTables::TablesSettings::get_modules; $template->param( panel => scalar $input->param('module'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt index 90c4ccc01c..db7abf663d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt @@ -14,7 +14,7 @@
[% INCLUDE 'csrf-token.inc' %] - + [% IF module.keys and module.keys.size > 0 %] [% FOR pagename IN module.keys.sort %] -- 2.39.5