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/puppetclasses/index.html.erb
<th><%= sort :name, :as => s_("Puppetclass|Name") %></th>
<th><%= sort :environment, :as => _("Environments and documentation") %></th>
<th><%= _('Host group') %></th>
<th><%= sort :hosts_count, :as => _('Hosts') %></th>
<th><%= sort :params_count, :as => _('Parameters') %></th>
<th><%= sort :variables_count, :as => _('Variables') %></th>
<th><%= sort :hosts_count, :as => _('Hosts'), :default => "DESC" %></th>
<th><%= sort :params_count, :as => _('Parameters'), :default => "DESC" %></th>
<th><%= sort :variables_count, :as => _('Variables'), :default => "DESC" %></th>
<th></th>
</tr>
<% for puppetclass in @puppetclasses %>

Also available in: Unified diff