View | Details | Raw Unified | Return to bug 21467
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-5 / +1 lines)
Lines 345-351 Link Here
345
345
346
                <thead>
346
                <thead>
347
                    <tr>
347
                    <tr>
348
                        <th class="NoVisible">Timestamp</th>
349
                        <th>Invoice</th>
348
                        <th>Invoice</th>
350
                        <th>Basket</th>
349
                        <th>Basket</th>
351
                        <th>Order number</th>
350
                        <th>Order number</th>
Lines 367-373 Link Here
367
                    [% ELSE %]
366
                    [% ELSE %]
368
                        <tr data-tt-id="[% order.parent_ordernumber | html %]">
367
                        <tr data-tt-id="[% order.parent_ordernumber | html %]">
369
                    [% END %]
368
                    [% END %]
370
                        <td>[% order.timestamp | html %]</td>
371
                        <td>
369
                        <td>
372
                        [% IF order.invoice %]
370
                        [% IF order.invoice %]
373
                            [% IF CAN_user_acquisition %]
371
                            [% IF CAN_user_acquisition %]
Lines 457-465 Link Here
457
455
458
                'bPaginate': false,
456
                'bPaginate': false,
459
                'bAutoWidth': false,
457
                'bAutoWidth': false,
460
                'bSort': true,
458
                'bSort': false,
461
                'aaSortingFixed': [[ 0, 'desc' ]],
462
                "bSortCellsTop": true
463
            }, columns_settings);
459
            }, columns_settings);
464
460
465
            $(table).treetable({
461
            $(table).treetable({
(-)a/serials/subscription-detail.pl (-2 / +1 lines)
Lines 125-131 for my $field ( @$additional_fields ) { Link Here
125
$template->param( additional_fields_for_subscription => $additional_fields );
125
$template->param( additional_fields_for_subscription => $additional_fields );
126
126
127
# FIXME Do we want to hide canceled orders?
127
# FIXME Do we want to hide canceled orders?
128
my $orders = Koha::Acquisition::Orders->search( { subscriptionid => $subscriptionid } );
128
my $orders = Koha::Acquisition::Orders->search( { subscriptionid => $subscriptionid }, { order_by => { -desc => 'parent_ordernumber' } } );
129
129
130
$template->param(
130
$template->param(
131
    subscriptionid => $subscriptionid,
131
    subscriptionid => $subscriptionid,
132
- 

Return to bug 21467