From 3d953a0fba36660a0062bb20fe232888536bb3f5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 27 Mar 2014 09:30:24 -0400 Subject: [PATCH] Bug 7567 - Modify DataTables configuration Content-Type: text/plain; charset="utf-8" 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. --- .../prog/en/modules/tools/koha-news.tt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt index 39cde86..842bed9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt @@ -9,14 +9,11 @@