BigW Consortium Gitlab

Commit b77b3b16 by Yorick Peterse Committed by Robert Speicher

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
......@@ -94,7 +94,7 @@ module Gitlab
end
def project_ids_relation
limit_projects.select(:id)
limit_projects.select(:id).reorder(nil)
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment