Browse Source

A column has been specified more than once in the order by list (#12713).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11106 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.3.0
Jean-Philippe Lang 11 years ago
parent
commit
24ec41f7d4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/controllers/wiki_controller.rb

+ 1
- 1
app/controllers/wiki_controller.rb View File

@@ -351,6 +351,6 @@ private
end

def load_pages_for_index
@pages = @wiki.pages.with_updated_on.order("#{WikiPage.table_name}.title").includes(:wiki => :project).includes(:parent).all
@pages = @wiki.pages.with_updated_on.reorder("#{WikiPage.table_name}.title").includes(:wiki => :project).includes(:parent).all
end
end

Loading…
Cancel
Save