From 7eeb6230ad29d32077e6877664ec184865cbfe00 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 Content-Type: text/plain; charset="utf-8" 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. --- .../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' %] +