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 358-364 Link Here
358
358
359
                <thead>
359
                <thead>
360
                    <tr>
360
                    <tr>
361
                        <th class="NoVisible">Timestamp</th>
362
                        <th>Invoice</th>
361
                        <th>Invoice</th>
363
                        <th>Basket</th>
362
                        <th>Basket</th>
364
                        <th>Order number</th>
363
                        <th>Order number</th>
Lines 380-386 Link Here
380
                    [% ELSE %]
379
                    [% ELSE %]
381
                        <tr data-tt-id="[% order.parent_ordernumber | html %]">
380
                        <tr data-tt-id="[% order.parent_ordernumber | html %]">
382
                    [% END %]
381
                    [% END %]
383
                        <td>[% order.timestamp | html %]</td>
384
                        <td>
382
                        <td>
385
                        [% IF order.invoice %]
383
                        [% IF order.invoice %]
386
                            [% IF CAN_user_acquisition %]
384
                            [% IF CAN_user_acquisition %]
Lines 472-480 Link Here
472
470
473
                'bPaginate': false,
471
                'bPaginate': false,
474
                'bAutoWidth': false,
472
                'bAutoWidth': false,
475
                'bSort': true,
473
                'bSort': false,
476
                'aaSortingFixed': [[ 0, 'desc' ]],
477
                "bSortCellsTop": true
478
            }, columns_settings);
474
            }, columns_settings);
479
475
480
            $(table).treetable({
476
            $(table).treetable({
(-)a/serials/subscription-detail.pl (-2 / +1 lines)
Lines 129-135 for my $field ( @$additional_fields ) { Link Here
129
$template->param( additional_fields_for_subscription => $additional_fields );
129
$template->param( additional_fields_for_subscription => $additional_fields );
130
130
131
# FIXME Do we want to hide canceled orders?
131
# FIXME Do we want to hide canceled orders?
132
my $orders = Koha::Acquisition::Orders->search( { subscriptionid => $subscriptionid } );
132
my $orders = Koha::Acquisition::Orders->search( { subscriptionid => $subscriptionid }, { order_by => { -desc => 'parent_ordernumber' } } );
133
133
134
$template->param(
134
$template->param(
135
    subscriptionid => $subscriptionid,
135
    subscriptionid => $subscriptionid,
136
- 

Return to bug 21467