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|