Bugzilla – Attachment 17227 Details for
Bug 9463
Use DataTables on patron sent notices page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9463: FIX DT sort by date for the last column
Bug-9463-FIX-DT-sort-by-date-for-the-last-column.patch (text/plain), 1.74 KB, created by
Chris Cormack
on 2013-04-07 03:10:45 UTC
(
hide
)
Description:
Bug 9463: FIX DT sort by date for the last column
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-04-07 03:10:45 UTC
Size:
1.74 KB
patch
obsolete
>From c2c5b0450429001acff48774e96e1ae1cc56b303 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 2 Apr 2013 09:36:29 +0200 >Subject: [PATCH] Bug 9463: FIX DT sort by date for the last column > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >index 0959c90..306a6fc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >@@ -8,10 +8,11 @@ > <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> > <script type="text/javascript"> > //<![CDATA[ >+ [% IF (dateformat == 'metric') %]dt_add_type_uk_date();[% END %] > $(document).ready(function() { > $("#noticestable").dataTable($.extend(true, {}, dataTablesDefaults, { > "aaSorting": [[ 3, "desc" ]], >- "aoColumns": [ null,null,null,{ "sType": "title-string" } ], >+ "aoColumns": [ null,null,null,{ "sType": "uk_date" } ], > "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], > "iDisplayLength": 20, > "sPaginationType": "four_button" >@@ -78,7 +79,7 @@ > [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted > [% ELSE %][% QUEUED_MESSAGE.status %][% END %] > </td> >- <td><span title="[% QUEUED_MESSAGE.time_queued %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td> >+ <td>[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</td> > </tr> > [% END %] > </tbody> >-- >1.7.10.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 9463
:
14796
|
14810
|
14886
|
15686
|
17081
|
17100
|
17111
|
17226
|
17227
|
17287
|
17397
|
17440