Bug 7567: (follow-up) Modify DataTables configuration
authorOwen Leonard <oleonard@myacpl.org>
Thu, 27 Mar 2014 13:30:24 +0000 (09:30 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 7 Apr 2014 18:14:20 +0000 (18:14 +0000)
commit8d4d4550aa01645bb4f565857597b81a33f046c2
tree52b7ec38d1e34441f821f492f0cc32b4fa64c140
parentab47d48488f65cca08871bff69a1561e10740945
Bug 7567: (follow-up) Modify DataTables configuration

This follow-up corrects a JavaScript error by converting the sorting
configuration to be class-based
(http://wiki.koha-community.org/wiki/DataTables_HowTo#Sorting_dates_regardless_of_date_format_preference).

I have also changed the DataTables configuration to allow for pagination
and JS-based filtering.

To test, apply the patch and view the list of News items. Your browser
should report no JavaScript errors. Table sorting, pagination, and
filtering should work correctly.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt