Pedro Amorim
eac2787565
Make sure requests table is unique when visiting patron ILL history so the table state is not shared unintentionally Reproduce: 1) Have a borrower with >20 ILL requests in their history 2) Visit cgi-bin/koha/members/ill-requests.pl?borrowernumber=<borrowernumber> 3) On the table, click page 2 4) Visit a different borrower with <20 ILL requests 5) Verify that no requests are shown, this is because the table is using page 2 from step 3) 6) Go back to original borrower, click table page 1 7) Now go back to 2nd borrower, verify is now showing page 1 correctly Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
38 lines
No EOL
2.7 KiB
HTML
38 lines
No EOL
2.7 KiB
HTML
[% IF patron.borrowernumber %]
|
|
<table id="ill-requests-patron-[% patron.borrowernumber | html %]">
|
|
[% ELSE %]
|
|
<table id="ill-requests">
|
|
[% END %]
|
|
<thead>
|
|
<tr id="ill_requests_header">
|
|
<th scope="col">Request ID</th>
|
|
<th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="author" data-related-search-on="value">Author</th>
|
|
<th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="title" data-related-search-on="value">Title</th>
|
|
<th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="article_title" data-related-search-on="value">Article title</th>
|
|
<th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="issue" data-related-search-on="value">Issue</th>
|
|
<th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="volume" data-related-search-on="value">Volume</th>
|
|
<th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="year" data-related-search-on="value">Year</th>
|
|
<th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="pages" data-related-search-on="value">Pages</th>
|
|
<th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="type" data-related-search-on="value">Request type</th>
|
|
<th scope="col">Order ID</th>
|
|
<th scope="col">Patron</th>
|
|
<th scope="col">Bibliographic record ID</th>
|
|
<th scope="col">Library</th>
|
|
<th scope="col">Status</th>
|
|
<th scope="col" class="placed_formatted">Placed on</th>
|
|
<th scope="col" class="updated_formatted">Updated on</th>
|
|
<th scope="col">Replied</th>
|
|
<th scope="col" class="completed_formatted">Completed on</th>
|
|
<th scope="col">Access URL</th>
|
|
<th scope="col">Cost</th>
|
|
<th scope="col">Price paid</th>
|
|
<th scope="col">Comments</th>
|
|
<th scope="col">OPAC notes</th>
|
|
<th scope="col">Staff notes</th>
|
|
<th scope="col">Backend</th>
|
|
<th scope="col" class="actions"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="illview-body">
|
|
</tbody>
|
|
</table> |