Bug 9182: fix on sortable columns on Saved reports

When displaying the Saved reports, since 3.10 the number of columns is
higher but the datasorter parameters have not been changed accordingly.
It's thus impossible to sort on the author or the creation date, for
example.

TEST PLAN :
1) Check sortable columns before applying : some useful columns are not
sortable, while the last columns are sortable (but don't need to be).

2) Once the patch is applied, the "non sortable" columns are the correct
ones.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Colums for saved reports are all sortable correctly now.
All tests and qa script pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
Adrien Saurat 2013-01-04 17:07:40 +01:00 committed by Chris Cormack
parent 3ba9e3371d
commit 86cf149e3f
1 changed files with 4 additions and 5 deletions

View File

@ -46,11 +46,10 @@ $(document).ready(function(){
widgets : ['zebra'],
sortList: [[1,0]],
headers: {
6: { sorter: false},
7: { sorter: false},
8: { sorter: false},
9: { sorter: false},
10: { sorter: false}
10: { sorter: false},
11: { sorter: false},
12: { sorter: false},
13: { sorter: false}
}
}).tablesorterPager({
container: $("#pagertable_reports"),