@@ -163,7 +163,7 @@ class UserRepository extends AbstractRepository | |||
{ | |||
return $this->queryUsersBy() | |||
->andWhere('user_producer.credit < 0') | |||
->orderBy('credit ASC'); | |||
->orderBy('lastname, name ASC'); | |||
} | |||
public function findUsersWithNegativeCredit() |