From 9a31b446c429ee7d2b712631278870173ff58511 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Tue, 26 Jun 2018 11:36:33 +0100 Subject: [PATCH] Bug 20995: Add Request ID to table and request view This patch adds the display of Request ID to the OPAC views of all a user's requests and the individual request. To test: 1) Ensure you have ILL enabled 2) Log into the OPAC as a user with at least one request 3) Go to the "your interlibrary loan requests" page 4) TEST: Ensure that Request ID is displayed as the first column in the table 5) Click the "View" button on a request 6) TEST: Ensure that Request ID is displayed along with all the other request information Signed-off-by: mmg@interleaf.ie Signed-off-by: Katrin Fischer --- .../bootstrap/en/modules/opac-illrequests.tt | 24 +++++++++++++++------- 1 file changed, 17 insertions(+), 7 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..77fd1d0715 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -111,6 +111,7 @@ + @@ -125,13 +126,18 @@ [% FOREACH request IN requests %] [% status = request.status | html %] - - - - - - - + + + + + + + + @@ -148,6 +154,10 @@ Details from library
  1. + + [% request.id %] +
  2. +
  3. [% request.backend | html %]
  4. -- 2.11.0
Request ID Author Title Requested from
[% request.metadata.Author || 'N/A' | html %][% request.metadata.Title || 'N/A' | html %][% request.backend | html %][% request.medium | html %][% request.capabilities.$status.name | html %][% request.placed | html %][% request.updated | html %][% request.id %] + [% IF request.metadata.Author %][% request.metadata.Author | html %][% ELSE %]N/A[% END %] + + [% IF request.metadata.Title %][% request.metadata.Title | html %][% ELSE %]N/A[% END %] + [% request.backend %][% request.medium %][% request.capabilities.$status.name %][% request.placed %][% request.updated %] View