Project

General

Profile

Feature #417 ยป sortable.patch

Brian Gallew, 10/25/2010 11:18 PM

View differences:

app/views/hosts/_minilist.html.erb 2010-10-25 15:17:10.000000000 -0700
<table class="list">
<tr>
<th><%= order @search, :by => :name %></th>
<th>Operating system</th>
<th>Environment</th>
<th>Model</th>
<th>Host Group</th>
<th><%= order @search, :by => :operatingsystem_id, :title => "OS" %></th>
<th><%= order @search, :by => :environment_id %></th>
<th><%= order @search, :by => :model_id , :title => "Model" %></th>
<th><%= order @search, :by => :hostgroup_id , :title => "Host Group" %></th>
<th><%= order @search, :by => :last_report %></th>
<th></th>
</tr>
    (1-1/1)