Bug 20995: Add Request ID to table and request view
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Tue, 26 Jun 2018 10:36:33 +0000 (11:36 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 17 Oct 2018 14:46:10 +0000 (14:46 +0000)
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>
Bug 20995: (QA follow-up) Add html filters and fix doubled up columns from merge

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt

index c44f419..f1f8099 100644 (file)
                     <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>
                             [% FOREACH request IN requests %]
                                 [% status = request.status | html %]
                                 <tr>
+                                    <td>[% request.id | html %]</td>
                                     <td>
                                         [% IF request.metadata.Author %][% request.metadata.Author | html %][% ELSE %]<span>N/A</span>[% END %]
                                     </td>
                                 <legend id="library_legend">Details from library</legend>
                                 <ol>
                                     <li>
+                                        <label for="request_id">Request ID:</label>
+                                        [% request.id | html %]
+                                    </li>
+                                    <li>
                                         <label for="backend">Requested from:</label>
                                         [% request.backend | html %]
                                     </li>