Hi, please remove the following line in your configuration: config.columns[:effective_date].sort = false
-- Volker On 7 Mrz., 20:27, scrozier <[email protected]> wrote: > Newb question. AS doesn't seem to be honoring my config.list.sorting > definition. Instead, the SQL issued has no ordering specified. > > Here's my config. Everything else in the config works fine: > > active_scaffold :aser_templates do |config| > config.theme = :level0 > config.label = 'ASER Templates' > config.columns = > [:effective_date, :description, :active, :introduction] > config.columns[:effective_date].sort = false > config.columns[:description].sort = false > config.columns[:active].sort = false > config.list.sorting = { :effective_date => :desc } > config.list.columns.exclude :introduction > config.columns[:active].form_ui = :checkbox > config.nested.add_link('Standards', [:aser_template_standards]) > end > > I've also tried list.sorting, per the "Getting Started" section of the > AS doc. What am I doing wrong? > > Many thanks! > > Steve -- 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.
