/**
  * {@inheritdoc}
  */
 public function getListQueryBuilder($limit = 10, $page = 1, $criteria = [], $orderBy = null, $joins = [])
 {
     $searchQueryBuilder = parent::getListQueryBuilder($limit, $page, $criteria, $orderBy, $joins);
     if (!empty($criteria['emails'])) {
         $this->prepareSearchEmailCriteria($searchQueryBuilder, $criteria['emails']);
     }
     return $searchQueryBuilder;
 }
 /**
  * {@inheritdoc}
  */
 public function getListQueryBuilder($limit = 10, $page = 1, $criteria = [], $orderBy = null, $joins = [])
 {
     $searchQuery = parent::getListQueryBuilder($limit, $page, $criteria, $orderBy, $joins);
     if (!empty($criteria['email'])) {
         $searchQuery->andWhere('email', SearchQuery::OPERATOR_CONTAINS, $criteria['email']);
     }
     return $searchQuery;
 }