Fixed ordering in Project.find_with_namespace
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?
Does this MR meet the acceptance criteria?
-
CHANGELOG entry addedChange not available in previous versions, only RCs -
Documentation created/updated -
API support added -
Tests -
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together