From 6f5500bfbace5996b3b849c655f0f0f0c11666e1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 10 Feb 2014 14:51:27 -0500 Subject: [PATCH] Bug 11738 - Use new DataTables include in batch patron modification template Bug 10649 introduced a new include file for adding DataTables-related JavaScript assets. This patch adds use of this include file to the batch patron modification template. This patch modifies the template so that date columns are sorted using the "title-string" filter, based on the unformatted date. The DataTables configuration has also been modified to account for varying structure based on the page state. Other minor edits: Corrected capitalization. To test, go Tools -> Batch patron modification and submit a list of patrons for modification. The resulting page should be correctly sorted. Date columns should sort correctly for all dateformat system pref settings. Submit a change to multiple borrowers. The results page should also be sorted correctly. Signed-off-by: merlissia --- .../prog/en/modules/tools/modborrowers.tt | 32 ++++++++++++-------- 1 files changed, 19 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt index a55dbd4..2e3701f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -3,22 +3,28 @@ Koha › Tools › Batch patron modification [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] - - -[% INCLUDE 'datatables-strings.inc' %] - + +[% INCLUDE 'datatables.inc' %]