Bugzilla – Attachment 6612 Details for
Bug 3806
Holidays table doesn't order by date correcly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Bug-3806-Holidays-table-doesn-t-order-by-date-correc.patch (text/plain), 1.64 KB, created by
Owen Leonard
on 2011-12-06 20:11:46 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-12-06 20:11:46 UTC
Size:
1.64 KB
patch
obsolete
>From 93040751e5dffbe617382372c19af2593e4d8302 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 6 Dec 2011 15:09:27 -0500 >Subject: [PATCH] Bug 3806 - Holidays table doesn't order by date correcly >Content-Type: text/plain; charset="utf-8" > >Adding dateformat filter to JavaScript tablesorter >configurations. >--- > .../prog/en/modules/tools/holidays.tt | 12 ++++++++---- > 1 files changed, 8 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >index ac867fe..fe2cdff 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >@@ -88,16 +88,20 @@ > $("#branch").change(function(){ > changeBranch(); > }); >- $("#holidayexceptions").tablesorter({ >+ $("#holidayexceptions").tablesorter({[% IF ( dateformat_metric ) %] >+ dateFormat: 'uk',[% END %] > sortList: [[0,0]], widgets: ['zebra'] > }); >- $("#holidayweeklyrepeatable").tablesorter({ >+ $("#holidayweeklyrepeatable").tablesorter({[% IF ( dateformat_metric ) %] >+ dateFormat: 'uk',[% END %] > sortList: [[0,0]], widgets: ['zebra'] > }); >- $("#holidaysyearlyrepeatable").tablesorter({ >+ $("#holidaysyearlyrepeatable").tablesorter({[% IF ( dateformat_metric ) %] >+ dateFormat: 'uk',[% END %] > sortList: [[0,0]], widgets: ['zebra'] > }); >- $("#holidaysunique").tablesorter({ >+ $("#holidaysunique").tablesorter({[% IF ( dateformat_metric ) %] >+ dateFormat: 'uk',[% END %] > sortList: [[0,0]], widgets: ['zebra'] > }); > $("a.helptext").click(function(){ >-- >1.7.3 >
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 3806
:
6612
|
6631
|
7050
|
7353
|
7383