On Jueves, 18 de Marzo de 2010 20:02:29 Soren Christensen escribió:
> There needs to be some documentation for the
>      config.actions.swap :search, :live_search
>
> Which is required to get the live search to work
>
> Shall I just add it to the Wiki ?

The only documentation for that line is in API Core, as a example in actions 
method. You are welcome for adding it in introduction for search, live search 
and field search for example. Or as a FAQ.

>
> /S
>
> On 3/18/2010 9:51 AM, Soren Christensen wrote:
> > Hi,
> >
> > I have a lot of various associated tables - but the search seems to be
> > broken in them  - did the config for search change ?
> >
> > I have:
> >
> >     # Add search to the user column
> >     config.columns[:user].search_sql = "CONCAT(users.first_name, ' ',
> > users.last_name)"
> >     config.columns[:user].sort_by :sql => "CONCAT(users.first_name, '
> > ', users.last_name)"
> >
> > Where user is a belongs_to column in my database.
> >
> > Did I miss something ?
> > The log shows that what I search for is being search for in the
> > database, but ONLY in the native columns.
> >
> > /S

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to