Bugzilla – Attachment 80723 Details for
Bug 21467
Allow several receipts for a given subscription
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21467: Fix default sort
Bug-21467-Fix-default-sort.patch (text/plain), 2.48 KB, created by
Séverine Queune
on 2018-10-17 14:31:35 UTC
(
hide
)
Description:
Bug 21467: Fix default sort
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2018-10-17 14:31:35 UTC
Size:
2.48 KB
patch
obsolete
>From 69e44b8c33d22c5ebd7a2ed289b21ca709be4d98 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 12 Oct 2018 14:26:44 -0300 >Subject: [PATCH] Bug 21467: Fix default sort >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > .../intranet-tmpl/prog/en/modules/serials/subscription-detail.tt | 6 +----- > serials/subscription-detail.pl | 2 +- > 2 files changed, 2 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >index 573c87d..3dfc172 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >@@ -345,7 +345,6 @@ > > <thead> > <tr> >- <th class="NoVisible">Timestamp</th> > <th>Invoice</th> > <th>Basket</th> > <th>Order number</th> >@@ -367,7 +366,6 @@ > [% ELSE %] > <tr data-tt-id="[% order.parent_ordernumber | html %]"> > [% END %] >- <td>[% order.timestamp | html %]</td> > <td> > [% IF order.invoice %] > [% IF CAN_user_acquisition %] >@@ -457,9 +455,7 @@ > > 'bPaginate': false, > 'bAutoWidth': false, >- 'bSort': true, >- 'aaSortingFixed': [[ 0, 'desc' ]], >- "bSortCellsTop": true >+ 'bSort': false, > }, columns_settings); > > $(table).treetable({ >diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl >index cc7a5d2..9c64af6 100755 >--- a/serials/subscription-detail.pl >+++ b/serials/subscription-detail.pl >@@ -125,7 +125,7 @@ for my $field ( @$additional_fields ) { > $template->param( additional_fields_for_subscription => $additional_fields ); > > # FIXME Do we want to hide canceled orders? >-my $orders = Koha::Acquisition::Orders->search( { subscriptionid => $subscriptionid } ); >+my $orders = Koha::Acquisition::Orders->search( { subscriptionid => $subscriptionid }, { order_by => { -desc => 'parent_ordernumber' } } ); > > $template->param( > subscriptionid => $subscriptionid, >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21467
:
79801
|
79802
|
79834
|
79835
|
79836
|
79837
|
79838
|
80546
|
80706
|
80707
|
80717
|
80718
|
80719
|
80720
|
80721
|
80722
|
80723
|
80724
|
81394
|
81395
|
81396
|
81397
|
81398
|
81399
|
81400
|
81430
|
81797
|
81798
|
81799
|
81800
|
81801
|
81802
|
81803
|
81804
|
81805
|
81806
|
81807
|
81808
|
81809
|
81810
|
81811
|
82117
|
82122
|
82123
|
82124
|
82125
|
82126
|
82127
|
82128
|
82129
|
82130
|
82131
|
82132