projects.samba.org

Thu, 21 Jul 2005

Sorting the Recent Build tables

I just added basic support to sort the table on Recent Builds, but it isn't anywhere near what I'd like.

Ideally, I'd like to see a method you could call that looks like:
$table = new Table(columns=>[ qw/Age Revision Tree Platform Host Compiler Status/],
sorters=>[ "age", "revision" ]);
$table->add_row(util::dhm_time($age), $rev, $tree, $hosts{$host},
$host, $compiler, $status);
$table->output();

Vance

posted at: 18:20 | path: /build-farm/table-sorting | permanent link to this entry