From 900a1aecbb689cc3348038e011c90e96a76a37bf Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 30 May 2024 18:07:27 +0000 Subject: [PATCH] Bug 36995: Correct parameter name for library EAN deletion This patches removes the "cud-" prefix from the "delete_confirm" parameter check in Library EAN management. The confirm step is a GET operation. To test, apply the patch and restart services; - Go to Administration -> Library EANs. - Add an entry if necessary, then click "Delete." - You should be taken to a confirmation page: "Confirm deletion of EAN..." - Confirm deletion and verify that the EAN was deleted. Signed-off-by: David Nind Signed-off-by: Martin Renvoize --- admin/edi_ean_accounts.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/edi_ean_accounts.pl b/admin/edi_ean_accounts.pl index dd305bda13..12d9589006 100755 --- a/admin/edi_ean_accounts.pl +++ b/admin/edi_ean_accounts.pl @@ -54,7 +54,7 @@ if ( $op eq 'ean_form' ) { ean => $e, ); } -elsif ( $op eq 'cud-delete_confirm' ) { +elsif ( $op eq 'delete_confirm' ) { my $e = $schema->resultset('EdifactEan')->find($id); $template->param( delete_confirm => 1, -- 2.39.5