]> git.koha-community.org Git - koha.git/commit
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:46 +0000 (09:13 -0400)
commita0b617e52c9136b1600ddb0a0eb83e49a7d41604
tree6e6d86abd14d0a216c2a148a8639b4f12491551d
parent20f5caebc854d241a61d206757732220a2aff7d5
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>
(cherry picked from commit 2c2dfd91e7f58fd155362872f156224e8077cb58)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt
tools/holidays.pl