From 2c2dfd91e7f58fd155362872f156224e8077cb58 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Mar 2013 13:38:13 -0400 Subject: [PATCH] Bug 9905 - Use DataTables on calendar page The calendar management page uses the old tablesorter plugin. This patch replaces tablesorter code with DataTables. In order to easily sort date columns under various dateformat system preference settings, date columns now sort based on an unformatted date in a 's title attribute (requiring the patch for Bug 9887). To test, view the calendar page--preferably with plenty of existing holiday data to populate the holiday summary tables. Confirm that sorting works correctly on all sorted tables with the dateformat preference set in all settings. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Note: This has to be tested together with the patch for bug 9887. All tests and QA script pass. Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/tools/holidays.tt | 68 +++++++------------ tools/holidays.pl | 7 ++ 2 files changed, 30 insertions(+), 45 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 a9e0c96a37..2a9f25f237 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt @@ -2,10 +2,13 @@ Koha › Tools › [% branchname %] Calendar [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] - + + +[% INCLUDE 'datatables-strings.inc' %] +