Today, I would like to introduce a new experimental feature. Currently, if you are using field_search you can see in top row of your record set that your list is currently filtered. However, you may not remember current search criteria. This is why I have added a little feature called “human conditions”, which will try to inform the user about the current search criteria.

Just try it out, it s fairly easy to activate.

class TeamsController < ApplicationController
  active_scaffold :team do |conf| 
    conf.actions.swap :search, :field_search 
    conf.field_search.human_conditions = true 
  end 
end
About these ads