From 50c76e4b5ab213714133ece4ffd5fb3f1efbc5f2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 19 Mar 2021 13:00:32 +0000 Subject: [PATCH] Bug 27999: Display the description of authorized values category MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch corrects a parameter in the authorized values template so that the right value is passed for displaying the description of an authorized value category. To test, apply the patch and go to Administration -> Authorized values. - In the table of authorized values, click on one which has a description in the "Description" column. - On the page titled "Authorized values for category XXX," you should see that description under the heading. - Use the "Show category" dropdown to try some other categories. Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 07bf1726e8bb0c35e60ca0a742f4edfb69f0c32b) Signed-off-by: Fridolin Somers --- .../intranet-tmpl/prog/en/modules/admin/authorised_values.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt index 13b8970b08..c6b882421b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -147,7 +147,7 @@ [% IF ( searchfield ) %]

Authorized values for category [% category.category_name | html %]

- [% PROCESS category_descriptions code_category = category %] + [% PROCESS category_descriptions code_category = category.category_name %] [% ELSE %]

Authorized values

[% END %] -- 2.39.5