summaryrefslogtreecommitdiffstats
path: root/app/controllers/wiki_controller.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-06-20 06:50:28 +0000
committerGo MAEDA <maeda@farend.jp>2020-06-20 06:50:28 +0000
commit925fbe92633a0484f04d06ec7cdaf7ca88f0c354 (patch)
tree981c425938faf16ad6f5795cad7d112dea85d4a5 /app/controllers/wiki_controller.rb
parentba6ef9b5b6ea8ba13b24ec8df63b0ef19324f3d2 (diff)
downloadredmine-925fbe92633a0484f04d06ec7cdaf7ca88f0c354.tar.gz
redmine-925fbe92633a0484f04d06ec7cdaf7ca88f0c354.zip
Ordering wiki pages should not be case sensitive (#31287).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19831 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/wiki_controller.rb')
-rw-r--r--app/controllers/wiki_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb
index fdb523cb6..b3d6e8efd 100644
--- a/app/controllers/wiki_controller.rb
+++ b/app/controllers/wiki_controller.rb
@@ -306,7 +306,6 @@ class WikiController < ApplicationController
# Export wiki to a single pdf or html file
def export
@pages = @wiki.pages.
- order('title').
includes([:content, {:attachments => :author}]).
to_a
respond_to do |format|
@@ -391,7 +390,6 @@ class WikiController < ApplicationController
def load_pages_for_index
@pages = @wiki.pages.with_updated_on.
- reorder("#{WikiPage.table_name}.title").
includes(:wiki => :project).
includes(:parent).
to_a