3 columns: <%= join(',',@$columns) %>
8 % foreach my $n ( @$columns ) {
9 <th><%= $n %> <a href="<%= url_for( action => 'facet' )->query( name => $n ) %>">#</a>
14 % foreach my $row ( @$sorted ) {
16 % foreach my $col ( @$columns ) {
17 <td><%= ref $row->{$col} eq 'ARRAY' ? join(', ',@{ $row->{$col} }) : $row->{$col} %></td>