From 4f6251a305828d806d40a427f0d914bafaba238f 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 --- 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 beb2d9da81..b651695760 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.20.1