##// END OF EJS Templates
A column has been specified more than once in the order by list (#12713)....
Jean-Philippe Lang -
r10876:24ec41f7d489
parent child
Show More
@@ -351,6 +351,6 private
351 end
351 end
352
352
353 def load_pages_for_index
353 def load_pages_for_index
354 @pages = @wiki.pages.with_updated_on.order("#{WikiPage.table_name}.title").includes(:wiki => :project).includes(:parent).all
354 @pages = @wiki.pages.with_updated_on.reorder("#{WikiPage.table_name}.title").includes(:wiki => :project).includes(:parent).all
355 end
355 end
356 end
356 end
General Comments 0
You need to be logged in to leave comments. Login now