Bug 11738: Use new DataTables include in batch patron modification template
authorOwen Leonard <oleonard@myacpl.org>
Mon, 10 Feb 2014 19:51:27 +0000 (14:51 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 26 Mar 2014 19:27:30 +0000 (19:27 +0000)
commitac82cbb3dc79b00f2a73bfce1b8a57c2f8e9e202
treeb4fbc8d76ef4cea9032570f53a6d9edd48dbccc6
parent06026a7e297c8537c7a4a7cb9c7720b482f26eba
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.

Test with extended patron attributes enabled. Test adding and removing
varying numbers of attributes to patrons in your batch.

Submit a change to multiple borrowers. The results page should also be
sorted correctly.

Revision: Corrected error caused by the variable number of columns in
the table corresponding to varying numbers of patron attributes.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script, works as described.

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