From 0f182f84b0bb3df344484182b94f1d25e4ec4146 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 22 Feb 2024 12:46:52 +0000 Subject: [PATCH] Bug 34478: Correct check of list op in batch record modification The "list" step (previewing records to be modified) is a post operation so the op must be cud-list. Signed-off-by: Jonathan Druart --- tools/batch_record_modification.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl index ec3b339e40..b89f67294e 100755 --- a/tools/batch_record_modification.pl +++ b/tools/batch_record_modification.pl @@ -89,7 +89,7 @@ if ( $op eq 'form' ) { ] ) ); -} elsif ( $op eq 'list' ) { +} elsif ( $op eq 'cud-list' ) { # List all records to process my ( @records, @record_ids ); if ( my $bib_list = $input->param('bib_list') ) { -- 2.39.5