From 58bcd036b1fe93a3b63923f54f0007ceee7cf3bb Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 5 Mar 2024 11:46:15 -0300 Subject: [PATCH] Bug 36193: cud- treatment for reset_confirmed on mappings.pl Signed-off-by: Tomas Cohen Arazi Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- admin/searchengine/elasticsearch/mappings.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/searchengine/elasticsearch/mappings.pl b/admin/searchengine/elasticsearch/mappings.pl index 370c698265..1c0b26a50c 100755 --- a/admin/searchengine/elasticsearch/mappings.pl +++ b/admin/searchengine/elasticsearch/mappings.pl @@ -196,7 +196,7 @@ if ( $op eq 'edit' ) { $update_mappings->(); } } -elsif( $op eq 'reset_confirmed' ) { +elsif( $op eq 'cud-reset_confirmed' ) { Koha::SearchEngine::Elasticsearch->reset_elasticsearch_mappings; push @messages, { type => 'message', code => 'success_on_reset' }; C4::Log::logaction( 'SEARCHENGINE', 'RESET_MAPPINGS', undef, q{} ); -- 2.39.5