From dd79f44ff77508a81620d0db9ead1c37e179a81c 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 dd305bda131..12d95890064 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.45.1