From 38978a5c8a83f8c6604509130c7dfd6d6493799c 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. --- 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.20.1