]> git.koha-community.org Git - koha.git/commit
Bug 11735 - Use new DataTables include in calendar template
authorOwen Leonard <oleonard@myacpl.org>
Mon, 10 Feb 2014 17:59:07 +0000 (12:59 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 13 Feb 2014 16:01:04 +0000 (16:01 +0000)
commitef65eee25e2946adf20650d61781363f735058b6
tree136019b90ed621eace821c69aedbfdfcdf853fb3
parent26696e3b299ff9ca96d7a834a172f6534ef952d5
Bug 11735 - Use new DataTables include in calendar template

Bug 10649 introduced a new include file for adding DataTables-related
JavaScript assets. This patch adds use of this include file to the
calendar template and corrects some table sorting configuration errors.

To test you should have multiple calendar entries in various categories
of holiday: Unique holidays, repeating yearly holidays, repeating weekly
holidays, and exceptions. Sorting of date columns should work regardless
of your dateformat system preference.

Signed-off-by: merlissia <manuelimel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Note: Day of week is not correctly sorted: Sundays, Mondays, Thursdays.
But it is not a regression. It is caused by the ugly way to display
weekdays (document.write).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt