I took a quick stab at this and was able to get something to work but it did cause visual side affects that I didn't spend the time to track down.
What I did: Download jquery.tablesorter.min.js, jquery.tablesorter.pager.js and jquery.tablesorter.widgets.js from [url=https://mottie.github.io/tablesorter/docs/#Download]here[/url]. Widgets is the new important bit. Copy the files to open-audit\theme-tango\tango-files\jquery\css\humanity overwriting the existing two tablesorter files. Edit "code_igniter\application\views\theme-tango\v_template.php" Add the following to the other <script> lines at the top: [code]<script type="text/javascript" src="<?php echo $oa_theme_files; ?>/jquery/js/jquery.tablesorter.widgets.js"></script>[/code] Change the tablesorter line around line 120: [code]$("table").tablesorter({cancelSelection: false, widthFixed: true, sortList: [[<?php echo $sortcolumn?>,0],[<?php echo $sortcolumn?>,0]], widgets: ['saveSort', 'zebra'] })[/code]Adding saveSort to widgets.
See what happens. It mostly worked for me but clobbered the ascending/descending sort indicators. Need to fix the CSS or something.
|