From 7d3801fdee097bd8998554d9263273fa910fd7b2 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Wed, 14 Nov 2018 14:28:08 +0100 Subject: [PATCH] Bug 21833: Display illrequests.medium as Request type To test: - Make sure you have an ILL request with a value in illrequests.medium - View the request in Detail view and Edit view, "N/A" is displayed for the Request type - Apply the patch - View the request in Detail and Edit view again, the value from illrequests.medium is now displayed as the Request type This patch also brings the coding around illrequests.medium more in line with the coding of similar attributes. Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index f2a833f..7fbb109 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -427,7 +427,6 @@
Request details
    - [% type = request.get_type %]
  1. [% request.borrowernumber | html %] @@ -453,7 +452,7 @@
  2. - [% IF type %][% type | html %][% ELSE %]N/A[% END %] + [% IF request.medium %][% request.medium | html %][% ELSE %]N/A[% END %]
  3. @@ -563,8 +562,7 @@
  4. Request type: - [% type = request.get_type %] - [% IF type %][% type | html %][% ELSE %]N/A[% END %] + [% IF request.medium %][% request.medium | html %][% ELSE %]N/A[% END %]
  5. Cost: -- 2.1.4