Use `take` without reorder(nil)
What does this MR do and why?
Using reorder(nil).first
is deprecated and the behavior will change soon. We have to use reorder(nil).take
to prevent adding order by
clause to the queries.
Related to #366910 (closed).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mehmet Emin INAC