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 cea5af140726
......@@ -94,7 +94,7 @@ def per_page
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