
On 23/03/2011 1:01, Michael Robbert wrote:
+1 from me. I've been working on a patch to allow sorting of certain tables (i.e. sort ports by bytes or packets in or out). Right now I'm doing it with static pages that are just sorting the SQL queries, but I'd much rather do it dynamically with javascript. I've found a table sorter library that uses jQuery.
Mike,
We already have sortable.js in there since a few revisions (and some tables are already sortable, needs class=sortable i think), but it's not totally clear you can click the headings of some tables to sort. There's still a bug left that it juggles the rows around so that the alternating colours are no longer alternating. I have a bugfix floating around for that somewhere that I still need to hunt down, but if your jquery tablesorter thing sorts that automatically, that would also be excellent. :-)
Tom