Defect #31287 » patch.rb
1 |
diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb |
---|---|
2 |
index 995a40cc4..ba6fc9f6d 100644 |
3 |
--- a/app/controllers/wiki_controller.rb |
4 |
+++ b/app/controllers/wiki_controller.rb |
5 |
@@ -301,7 +301,7 @@ class WikiController < ApplicationController |
6 |
# Export wiki to a single pdf or html file
|
7 |
def export |
8 |
@pages = @wiki.pages. |
9 |
- order('title'). |
10 |
+ order('lower(title)'). |
11 |
includes([:content, {:attachments => :author}]). |
12 |
to_a
|
13 |
respond_to do |format| |