There needs to be some documentation for the
config.actions.swap :search, :live_searchWhich is required to get the live search to work Shall I just add it to the Wiki ? /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 columnconfig.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
-- 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.
