Skip to content

Fixed ordering in Project.find_with_namespace

Yorick Peterse requested to merge fix-project-find-with-namespace-order into master

What does this MR do?

This MR fixes the ordering of Project.find_with_namespace to ensure that it returns rows that match literally first.

Are there points in the code the reviewer needs to double check?

No.

Why was this MR needed?

I broke this behaviour when adding Project.where_paths_in.

What are the relevant issue numbers?

#18603 (closed)

Does this MR meet the acceptance criteria?

Merge request reports