Bugzilla – Attachment 17111 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.69 KB, created by
Jonathan Druart
on 2013-04-02 07:39:56 UTC
(
hide
)
Description:
Bug 9463: FIX DT sort by date for the last column
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-04-02 07:39:56 UTC
Size:
1.69 KB
patch
obsolete
>From 75037f61a089b840dd0f01568681c4e21a54c795 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 > >--- > 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