Hello, I want to sort my records more than once column per time. This is not easy to do, but is possible.
For example, I have a controller categories and pages. Into pages I have the columns category and title and I want to sort by category title (I made it setting active_scaffold_joins and sort_by :sql) and page title. I think it can do sorting by a column and clicking on second column holding shift or ctrl key. The real problem is I'm setting the config.list.sorting to [:category, :title] and sometimes I want to sort by another column. So, when I want to back to default sorting this is not possible. I guess the first is a feature request and the second is a bug reporting. If I set a default sorting (once column) and click 3 times in another columns: sort by default the title, click to sort by date (asc), click to sort by date (desc), click to sort by date (reset to default). But this doesn't happen if I set twice columns. Sergio, can you reproduce this? -- Cordialmente, Gabriel Sobrinho Diretor de desenvolvimento Hite Comunicação Digital e Mídia Interativa http://www.hite.com.br/ +55 31 8775 8378 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
