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 <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2024-02-22 12:46:52 +00:00 committed by Jonathan Druart
parent 3a8ada1e0f
commit 0f182f84b0
Signed by: jonathan.druart
GPG key ID: A085E712BEF0E0F0

View file

@ -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') ) {