From 000514d3885fe62b40073fd4c873979b17733fe9 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Wed, 14 Nov 2018 14:28:08 +0100 Subject: [PATCH] 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. https://bugs.koha-community.org/show_bug.cgi?id=21833 --- 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 0ec9ec105e..b2a165cc50 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. @@ -562,8 +561,7 @@
    Request type: - [% type = request.get_type %] - [% IF type %][% type | html %][% ELSE %]N/A[% END %] + [% IF request.medium %][% request.medium | html %][% ELSE %]N/A[% END %]
    Cost: -- 2.11.0