Allow showing a group by the uuid of any of it's individual crash
This removes the dependency on insertion order.
Also split Group::stats_by_product_and_version from get
% title 'Top crashs';
% layout 'main';
%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
<thead>
<tr>
<th>Title</th>
<th>Count</th>
<th>First version seen</th>
<th>Last version seen</th>
<th>Products</th>
% foreach my $extra_col(@$extra_columns) {
%= t th => $extra_col->{name}
% }
</tr>
</thead>
% foreach my $crash(@$crashs) {
%= t tr => begin
%= t td => begin
%= link_to $crash->{title} => url_for('group', uuid => $crash->{uuid})
% end
%= t td => $crash->{crash_count}
%= t td => $crash->{first_version}
%= t td => $crash->{last_version}
%= t td => $crash->{product_names}
% foreach my $extra_col(@$extra_columns) {
%= t td => $crash->{$extra_col->{id}}
% }
% end
% }
% end
% if($pager->first_page != $pager->last_page) {
%= bootstrap_pagination($pager->current_page, $pager->last_page);
% }