From b7758f5f37c0a2d028e8642f1d245df4f8cbfa8a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Mar 2013 13:38:13 -0400 Subject: [PATCH] [PASSED QA] 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. --- .../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 a9e0c96..2a9f25f 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' %] +