def search
      pi        = page_info
      pi.record = SearchForm.new(model, params[:edgarj_search_form])
      pi.page = 1
      pi.save!
      @search   = pi.record
      prepare_list if @search.valid?
    end
def search
      pi        = page_info
      pi.record = SearchForm.new(model, params[:edgarj_search_form])
      pi.page = 1
      pi.save!
      @search   = pi.record
      prepare_list if @search.valid?
    end
Ajax method to execute search

 Actually, this doesn't execute search.  Rather, this just saves
 condition.  Search will be executed at any listing action
 like 'index', 'create', or 'update'.

 === Permission
 ModelPermission::READ on this controller is required.