Bugzilla – Attachment 77505 Details for
Bug 20726
Display acquisition details on the subscription detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20726: Sort by statuses then ordernumbers
Bug-20726-Sort-by-statuses-then-ordernumbers.patch (text/plain), 3.33 KB, created by
Jonathan Druart
on 2018-08-06 21:07:45 UTC
(
hide
)
Description:
Bug 20726: Sort by statuses then ordernumbers
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-08-06 21:07:45 UTC
Size:
3.33 KB
patch
obsolete
>From fd9da558d7045ebfff039c1ae8d73dbcf171b272 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 29 May 2018 17:10:58 -0300 >Subject: [PATCH] Bug 20726: Sort by statuses then ordernumbers >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Not received and most recent at the top. > >Sponsored-by: BULAC - http://www.bulac.fr/ > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > .../prog/en/modules/serials/subscription-detail.tt | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 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 6a02066257..9af40c7c03 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 >@@ -347,7 +347,7 @@ > <th>Order number</th> > <th class="title-string">Creation date</th> > <th class="title-string">Receive date</th> >- <th>Status</th> >+ <th class="title-string">Status</th> > <th>Fund</th> > <th>Ordered</th> > <th>Spent</th> >@@ -376,11 +376,11 @@ > <td>[% IF order.datereceived %]<span title="[% order.datereceived %]">[% order.datereceived | $KohaDates %]</span>[% END %]</td> > <td> > [% SWITCH order.orderstatus %] >- [% CASE 'new' %]New >- [% CASE 'ordered' %]Ordered >- [% CASE 'partial' %]Partial >- [% CASE 'complete' %]Complete >- [% CASE 'cancelled' %]Cancelled >+ [% CASE 'new' %]<span title="status_1">New</span> >+ [% CASE 'ordered' %]<span title="status_2">Ordered</span> >+ [% CASE 'partial' %]<span title="status_3">Partial</span> >+ [% CASE 'complete' %]<span title="status_4">Complete</span> >+ [% CASE 'cancelled' %]<span title="status_5">Cancelled</span> > [% END %] > </td> > <td>[% order.fund.budget_name %]</td> >@@ -433,7 +433,7 @@ > var table = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { > 'bPaginate': false, > 'bAutoWidth': false, >- "aaSorting": [[ 4, "desc" ]], >+ "aaSorting": [[ 5, "asc" ], [ 2, "desc" ]], // Order by status then ordernumber > "aoColumnDefs": [ > { "aTargets": "title-string", "sType": "title-string" } > ] >@@ -441,7 +441,7 @@ > > $("#hide_received_orders").click(function(e){ > e.preventDefault(); >- table.fnFilter( '.', 4, true ); // Not empty "Receive date" columns >+ table.fnFilter( '^$', 4, true ); // Not empty "Receive date" columns > }); > $("#show_all_orders").click(function(e){ > e.preventDefault(); >-- >2.11.0
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 20726
:
75146
|
75147
|
75148
|
75149
|
75150
|
75650
|
75651
|
75666
|
75708
|
75709
|
75710
|
75711
|
75712
|
75713
|
75794
|
77428
|
77429
|
77430
|
77431
|
77432
|
77433
|
77434
|
77500
|
77501
|
77502
|
77503
|
77504
|
77505
|
77506
|
78062
|
78063
|
78064
|
78065
|
78066
|
78067
|
78068