Browse Source

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>
21.05.x
Owen Leonard 2 years ago
committed by Jonathan Druart
parent
commit
07bf1726e8
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt

@ -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 %]

Loading…
Cancel
Save