Project

General

Profile

Defect #31287 » patch.rb

hyper loop, 2019-05-01 22:01

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