Hi everybody !
I'm using beginning_of_chain
def beginning_of_chain
if params[:filtre]=="archive"
super.archive
elsif params[:filtre]=="encours"
super.encours
else
super
end
end
But when I'm doing a research in archive with field_search, activescaffold
is doing the search in all and not just in (super).archive
It's normal ? how I can do only search in super.archive ?
I don't if I'am clair
thanks
Gloufy
--
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 https://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.