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.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 07bf1726e8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Owen Leonard 2021-03-19 13:00:32 +00:00 committed by Fridolin Somers
parent 0164135763
commit 50c76e4b5a
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@
[% IF ( searchfield ) %]
<h1>Authorized values for category [% category.category_name | html %]</h1>
[% PROCESS category_descriptions code_category = category %]
[% PROCESS category_descriptions code_category = category.category_name %]
[% ELSE %]
<h1>Authorized values</h1>
[% END %]