@@ -351,6 +351,6 private | |||
|
351 | 351 | end |
|
352 | 352 | |
|
353 | 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 | 355 | end |
|
356 | 356 | end |
General Comments 0
You need to be logged in to leave comments.
Login now