Fix group duplication on dashboard and project order in group
This commit is contained in:
parent
ff9a2e2a93
commit
1d889a79fb
4 changed files with 15 additions and 7 deletions
|
@ -80,7 +80,7 @@ module Account
|
|||
end
|
||||
|
||||
def projects_sorted_by_activity
|
||||
projects.order("(SELECT max(events.created_at) FROM events WHERE events.project_id = projects.id) DESC")
|
||||
projects.sorted_by_activity
|
||||
end
|
||||
|
||||
def namespaces
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue