Bug 13962: Add link to the vendor detail page

This patch 1/ uses the class of the th to filter the columns and 2/ adds
a link on the vendor name to the vendor detail page.

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2015-06-16 18:16:27 +02:00 committed by Tomas Cohen Arazi
parent 55103ad860
commit cad134cd17

View file

@ -297,7 +297,7 @@ function verify_images() {
'bAutoWidth': false, 'bAutoWidth': false,
"aaSorting": [[ 4, "desc" ]], "aaSorting": [[ 4, "desc" ]],
"aoColumnDefs": [ "aoColumnDefs": [
{ "aTargets": [ 4, 5 ], "sType": "title-string" } { "aTargets": "title-string", "sType": "title-string" }
] ]
})); }));
@ -936,8 +936,8 @@ function verify_images() {
<th>Basket group</th> <th>Basket group</th>
<th>Basket</th> <th>Basket</th>
<th>Order number</th> <th>Order number</th>
<th>Creation date</th> <th class="title-string">Creation date</th>
<th>Receive date</th> <th class="title-string">Receive date</th>
<th>Status</th> <th>Status</th>
<th>Quantity</th> <th>Quantity</th>
</tr> </tr>
@ -947,7 +947,7 @@ function verify_images() {
<tr> <tr>
<td> <td>
[% IF (order.id) %] [% IF (order.id) %]
[% order.name %] <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
[% END %] [% END %]
</td> </td>
<td> <td>