Project

General

Profile

« Previous | Next » 

Revision 846433a7

Added by Stephen Benjamin about 10 years ago

fixes #4673 - make default sort order descending on count columns

View differences:

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