From cc9c773c02c93e55447076a5d286d63f00204834 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Mon, 3 Sep 2018 14:14:31 +0100 Subject: [PATCH] Bug 20581: Fix display of status alias in OPAC Fix for status alias display in OPAC, we should be displaying the status name, not the status code. Signed-off-by: Niamh.Walker-Headon@it-tallaght.ie Signed-off-by: Katrin Fischer Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt index 9fd474dd71..64a057dd0e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -139,7 +139,7 @@ [% IF type %][% type | html %][% ELSE %]N/A[% END %] - [% request.capabilities.$status.name | html %] + [% request.status_alias ? request.statusalias.lib_opac : request.capabilities.$status.name | html %] [% request.placed | $KohaDates %] [% request.updated | $KohaDates %] @@ -178,7 +178,7 @@
  • - [% request.capabilities.$status.name | html %] + [% request.status_alias ? request.statusalias.lib_opac : request.capabilities.$status.name | html %]
  • -- 2.39.5