From cca73a422153ab48923149db01a04f446d2ded06 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 23 Jan 2013 12:16:39 -0500 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart --- .../prog/en/modules/members/moremember.tt | 59 ++++++++++++-------- 1 file changed, 36 insertions(+), 23 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 39f3e55..9df6d04 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -9,33 +9,46 @@ [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] - + + +[% INCLUDE 'datatables-strings.inc' %] + -