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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue