Project

General

Profile

« Previous | Next » 

Revision 6895854c

Added by Stephen Benjamin about 10 years ago

fixes #4256 - makes columns sortable in the UI

View differences:

app/controllers/domains_controller.rb
def index
@domains = resource_base.search_for(params[:search], :order => params[:order]).paginate(:page => params[:page])
@host_counter = Host.group(:domain_id).where(:domain_id => @domains.select(&:id)).count
end
def new

Also available in: Unified diff