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 commit07bf1726e8) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit50c76e4b5a) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
parent
c3388a950e
commit
ddac7cafcb
|
|
@ -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…
Reference in New Issue