Skip to content
Snippets Groups Projects
Commit b77b3b16 authored by Yorick Peterse's avatar Yorick Peterse Committed by Robert Speicher
Browse files

Removed order from sub-query projects for search

There's no need to order queries used as sub-queries and doing so can
add potential overhead.
parent 8c2868e8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -94,7 +94,7 @@ module Gitlab
end
 
def project_ids_relation
limit_projects.select(:id)
limit_projects.select(:id).reorder(nil)
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment