From 91e2defb123444985ffcb0adc2a9169923b8fe4e Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Tue, 2 Jun 2020 15:32:10 +0400 Subject: [PATCH] Bug 25651: Fix modification of authorised value When modifying an existing authorised value, the category is not correctly passed to the template and so it is not passed to the POST request, which results in the authorised value switching to category '', which effectively make it disappear from the interface. This patch fixes that. Signed-off-by: Sally --- admin/authorised_values.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index e8cffdd697..8717556086 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -79,7 +79,7 @@ if ($op eq 'add_form') { if ( $av ) { $template->param( - category => $av->category, + category_name => $av->category, authorised_value => $av->authorised_value, lib => $av->lib, lib_opac => $av->lib_opac, -- 2.11.0