dburges wrote:
I have just set up a search form on my index using SearchLogic- it
works great. However, since there are several search parameters in the
form I want the results of the most recent search to remain in effect
until the user does a new search. I can't figure out how to do this!
Patrick Shainin wrote:
For example, to add a check box that limits the search to rows with a
certain condition, you could define a named scope in Model.rb like this:
named_scope :my_condition, :conditions = your sql condition here
Then in the view form, you would include:
lt;%= f.label
2 matches
Mail list logo