> The bad method is configure all of your columns to sort by the real column > (created_at for example) and id: > config.columns[:created_at].sort_by :sql => 'created_at, id'
Yes, but if you click on the column header, the ORDER BY becomes : "created_at, id ASC" or "created_at, ID desc", doesn't it ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
