From d32cb9ab66e7cbac43e3aa5481f484bff8230053 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=UTF-8 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 --- koha-tmpl/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 bac32901d2..caf34a22e1 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.11.0