summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2018-04-05 23:56:32 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-05-19 07:19:58 +0900
commitd8a9bfb6b7e17812915fe6767158abaca2ea6a74 (patch)
treeea9b24e615fba813aa26ab4a02b1b6b0455eea0c /app/finders
parent2e350216cdf56c00a84d0be93b64f3db2f4d9cff (diff)
downloadgitlab-ce-d8a9bfb6b7e17812915fe6767158abaca2ea6a74.tar.gz
Order UsersController#projects.json by updated_at
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/personal_projects_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/personal_projects_finder.rb b/app/finders/personal_projects_finder.rb
index 3ad4bd5f066..5aea0cb8192 100644
--- a/app/finders/personal_projects_finder.rb
+++ b/app/finders/personal_projects_finder.rb
@@ -13,7 +13,7 @@ class PersonalProjectsFinder < UnionFinder
def execute(current_user = nil)
segments = all_projects(current_user)
- find_union(segments, Project).includes(:namespace).order_id_desc
+ find_union(segments, Project).includes(:namespace).order_updated_desc
end
private