draft activity feature #4

This commit is contained in:
ghost 2023-10-04 19:20:34 +03:00
parent 8ee25d3a30
commit d73086231f
4 changed files with 65 additions and 26 deletions

View file

@ -40,4 +40,13 @@ class UserRepository extends ServiceEntityRepository
->getOneOrNullResult()
;
}
public function findAllByAddedFieldDesc(): array
{
return $this->createQueryBuilder('u')
->orderBy('u.added', 'DESC')
->getQuery()
->getResult()
;
}
}