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.
This commit is contained in:
parent
8c2868e8ea
commit
b77b3b16b6
|
|
@ -94,7 +94,7 @@ module Gitlab
|
|||
end
|
||||
|
||||
def project_ids_relation
|
||||
limit_projects.select(:id)
|
||||
limit_projects.select(:id).reorder(nil)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue