Bug 9905 - Use DataTables on calendar page
authorOwen Leonard <oleonard@myacpl.org>
Fri, 22 Mar 2013 17:38:13 +0000 (13:38 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 15 Apr 2013 13:13:33 +0000 (09:13 -0400)
commit2c2dfd91e7f58fd155362872f156224e8077cb58
tree6e6d86abd14d0a216c2a148a8639b4f12491551d
parenteee5324a26ce92eae7187cc88c78e18b8ba7843c
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 <span>'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 <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
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 <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt
tools/holidays.pl