El Lunes, 29 de septiembre de 2014 21:24:36 Jeff Surrett escribió:
> I see in the change log that search and field search should be able to be
> used at the same time. How do you configure a controller so that the
> regular search is displayed at all times and the field_search can be chosen
> with the button?
> 
> Currently testing this on:
> rails 4.1.1
> ruby 2.1.2

config.actions << :field_search # add field search instead of swap with search
config.field_search.link.parameters = {:kind => :field_search} # show search 
open field search
config.list.always_show_search = :search # regular search displayed all time

It should work

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to