From c5887f2980ffb1e417cffda89db34508e7a543c7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 1 Oct 2020 14:14:13 +0100 Subject: [PATCH] Bug 18170: Use GetDescriptionByKohaField Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 26ac7e6eb9..79bb889c71 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -847,7 +847,7 @@ Not checked out [% END %] [% IF ( riloo.damaged ) %] - [% AuthorisedValues.GetByCode( 'DAMAGED', riloo.damaged ) | html %] + [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => riloo.damaged ) | html %] [% END %] -- 2.11.0