From 32bf45c88a86bd7f7d4dbaf29c034a9366eb49e3 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Tue, 17 Apr 2018 12:03:39 +0100 Subject: [PATCH] Bug 20581: Add support for status_alias to OPAC view - This patch adds the abililty for the OPAC to display a set status_alias value in preference to a request's status value. During ILL request listing or individual ILL request view, the status_alias value, if set, will be displayed in favour of the status Signed-off-by: Niamh.Walker-Headon@it-tallaght.ie --- 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 838f827951..2d7ba6ed58 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -129,7 +129,7 @@ [% request.metadata.Title || 'N/A' | html %] [% request.backend | html %] [% request.medium | html %] - [% request.capabilities.$status.name | html %] + [% request.status_alias ? request.statusalias.authorised_value : request.capabilities.$status.name | html %] [% request.placed | html %] [% request.updated | html %] @@ -163,7 +163,7 @@
  • - [% request.capabilities.$status.name | html %] + [% request.status_alias ? request.statusalias.authorised_value : request.capabilities.$status.name | html %]
  • -- 2.11.0