Bug 9462 [Revised] Use DataTables on patron detail page
authorOwen Leonard <oleonard@myacpl.org>
Wed, 23 Jan 2013 17:16:39 +0000 (12:16 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 12 Feb 2013 14:04:52 +0000 (09:04 -0500)
commit2cf41d31ffa6a27e7763ecb34f83654968da5edf
tree69638e5d531bc5321d8ef9abc877daca3f75adce
parentaeaea10cf0f4992682005046d9898308a548a206
Bug 9462 [Revised] Use DataTables on patron detail page

Replace the tablesorter plugin with the DataTables plugin on the
patron detail page.

To test, open a patron detail page for a patron who has checkouts,
holds, and relatives' checkouts. Confirm that table sorting works
correctly for each of those three tables.

Revision adds some JavaScript designed to handle table-sizing for tables
which are hidden initally in tabs. DataTables has an approved method for
handling these cases:
http://www.datatables.net/examples/api/tabs_and_scrolling.html

This should prevent the table of existing holds from looking squeezed.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt