From 8292ecd36d17a0f57c2d600ad09bc21643209449 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 --- 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 2ad7d56c70..0b2b139ed3 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -128,7 +128,7 @@ [% request.metadata.Title || 'N/A' %] [% request.backend %] [% request.medium %] - [% request.capabilities.$status.name %] + [% request.status_alias ? request.statusalias.authorised_value : request.capabilities.$status.name %] [% request.placed %] [% request.updated %] @@ -162,7 +162,7 @@
  • - [% request.capabilities.$status.name %] + [% request.status_alias ? request.statusalias.authorised_value : request.capabilities.$status.name %]
  • -- 2.11.0