diff --git a/app/helpers/welcome_helper.rb b/app/helpers/welcome_helper.rb index da99b6f9c..bd7c05100 100644 --- a/app/helpers/welcome_helper.rb +++ b/app/helpers/welcome_helper.rb @@ -105,7 +105,7 @@ module WelcomeHelper searchStudent(project).count end def find_new_forum_topics limit=9 - Memo.where('memos.parent_id IS NULL').reorder('ORDER BY memos.created_at DESC').limit(limit) + Memo.where('memos.parent_id IS NULL').reorder('memos.created_at DESC').limit(limit) # activity = Redmine::Activity::Fetcher.new(nil) # activity.scope=['memos'] # activity.events_welcome(nil, nil, {:limit => limit})