From 07bf1726e8bb0c35e60ca0a742f4edfb69f0c32b 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 --- .../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.39.5