This commit is contained in:
Alexey Skobkin 2015-05-31 10:43:24 +03:00
parent d2711f2057
commit cacb676d96

View file

@ -28,6 +28,7 @@ class UserController extends Controller
->select('u') ->select('u')
->innerJoin('u.subscriptions', 's') ->innerJoin('u.subscriptions', 's')
->where('s.author = :author') ->where('s.author = :author')
->orderBy('u.login', 'asc')
->setParameter('author', $user->getId()) ->setParameter('author', $user->getId())
->getQuery()->getResult() ->getQuery()->getResult()
; ;