Bugzilla – Attachment 80074 Details for
Bug 20995
Add request ID to OPAC ILL requests display table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20995: Add Request ID to table and request view
Bug-20995-Add-Request-ID-to-table-and-request-view.patch (text/plain), 4.08 KB, created by
Andrew Isherwood
on 2018-10-05 12:59:13 UTC
(
hide
)
Description:
Bug 20995: Add Request ID to table and request view
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2018-10-05 12:59:13 UTC
Size:
4.08 KB
patch
obsolete
>From 8b3cb10914b356c9a8a170921aff447b58e0ee56 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >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 <katrin.fischer@bsz-bw.de> >--- > .../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 @@ > <table id="illrequestlist" class="table table-bordered table-striped"> > <thead> > <tr> >+ <th>Request ID</th> > <th>Author</th> > <th>Title</th> > <th>Requested from</th> >@@ -125,13 +126,18 @@ > [% FOREACH request IN requests %] > [% status = request.status | html %] > <tr> >- <td>[% request.metadata.Author || 'N/A' | html %]</td> >- <td>[% request.metadata.Title || 'N/A' | html %]</td> >- <td>[% request.backend | html %]</td> >- <td>[% request.medium | html %]</td> >- <td>[% request.capabilities.$status.name | html %]</td> >- <td>[% request.placed | html %]</td> >- <td>[% request.updated | html %]</td> >+ <td>[% request.id %]</td> >+ <td> >+ [% IF request.metadata.Author %][% request.metadata.Author | html %][% ELSE %]<span>N/A</span>[% END %] >+ </td> >+ <td> >+ [% IF request.metadata.Title %][% request.metadata.Title | html %][% ELSE %]<span>N/A</span>[% END %] >+ </td> >+ <td>[% request.backend %]</td> >+ <td>[% request.medium %]</td> >+ <td>[% request.capabilities.$status.name %]</td> >+ <td>[% request.placed %]</td> >+ <td>[% request.updated %]</td> > <td> > <a href="/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=[% request.id | html %]" class="btn btn-default btn-small pull-right">View</a> > </td> >@@ -148,6 +154,10 @@ > <legend id="library_legend">Details from library</legend> > <ol> > <li> >+ <label for="request_id">Request ID:</label> >+ [% request.id %] >+ </li> >+ <li> > <label for="backend">Requested from:</label> > [% request.backend | html %] > </li> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20995
:
76431
|
79490
|
80050
|
80058
|
80059
|
80069
|
80070
|
80074
|
80075
|
80727