From 08a040a92e8d2119cdd2b5e06a9ade4d57205d3f 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 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. --- 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