Revision 846433a7
Added by Stephen Benjamin about 10 years ago
app/views/domains/index.html.erb | ||
---|---|---|
<table class="table table-bordered table-striped table-two-pane">
|
||
<tr>
|
||
<th><%= sort :name, :as => s_("Domain|Fullname") %></th>
|
||
<th><%= sort :hosts_count, :as => _("Hosts") %></th>
|
||
<th><%= sort :hosts_count, :as => _("Hosts"), :default => "DESC" %></th>
|
||
<th></th>
|
||
</tr>
|
||
<% for domain in @domains %>
|
Also available in: Unified diff
fixes #4673 - make default sort order descending on count columns