From e2c3348ec89696e888251234a4c853a04d66a800 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 26 Jan 2024 11:11:58 +0100 Subject: [PATCH] Bug 34478: Rename action with op - catalogue/search-history Signed-off-by: Jonathan Druart --- catalogue/search-history.pl | 4 ++-- .../prog/en/modules/catalogue/search-history.tt | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catalogue/search-history.pl b/catalogue/search-history.pl index 883cfcf6a1..a97fbe839f 100755 --- a/catalogue/search-history.pl +++ b/catalogue/search-history.pl @@ -35,11 +35,11 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ }); my $type = $cgi->param('type'); -my $action = $cgi->param('action') || q{list}; +my $op = $cgi->param('op') || q{list}; my $previous = $cgi->param('previous'); # Deleting search history -if ( $action eq 'cud-delete' ) { +if ( $op eq 'cud-delete' ) { my $sessionid = defined $previous ? $cgi->cookie("CGISESSID") : q{}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt index ba1eb011fe..aa06aea81c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt @@ -59,7 +59,7 @@ Delete

- + @@ -101,7 +101,7 @@ Delete

- +
@@ -145,7 +145,7 @@ Delete

- +
@@ -187,7 +187,7 @@ Delete

- +
-- 2.39.5