]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 19 May 2014 14:01:39 +0000 (16:01 +0200)
commit7d6daf4ceb6680fd9a86dba38d219511df250d7c
tree70cdc691cec040ca4c1d33ccccdd5eb008c806a6
parent1d38c4e9b297eca2d562b2c4ff387c9ab6d543f2
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>
(cherry picked from commit ef65eee25e2946adf20650d61781363f735058b6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt