Closed nottoohigh closed 3 years ago
@nottoohigh sounds reasonable :) would you mind sending us a PR with the change and some tests?
@malarzm Ok will do as soon as I can. Thank you!
Closing as https://github.com/doctrine/mongodb-odm/pull/2264 was just merged
Feature Request
Summary
Unlike
findBy
,Doctrine\ODM\MongoDB\Repository\DocumentRepository::findOneBy
does not currently support$sort
as a parameter.Current
Propose adding support for $sort: