fix bug"
This commit is contained in:
parent
c27528ffb7
commit
dcb16cb789
|
@ -105,7 +105,7 @@ module WelcomeHelper
|
||||||
searchStudent(project).count
|
searchStudent(project).count
|
||||||
end
|
end
|
||||||
def find_new_forum_topics limit=9
|
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 = Redmine::Activity::Fetcher.new(nil)
|
||||||
# activity.scope=['memos']
|
# activity.scope=['memos']
|
||||||
# activity.events_welcome(nil, nil, {:limit => limit})
|
# activity.events_welcome(nil, nil, {:limit => limit})
|
||||||
|
|
Loading…
Reference in New Issue