Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 protected function getCollectionQueryBuilder()
 {
     return parent::getQueryBuilder()->select('taxonomy, root, taxons')->leftJoin('taxonomy.root', 'root')->leftJoin('root.children', 'taxons');
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 protected function getQueryBuilder()
 {
     return parent::getQueryBuilder()->select($this->getAlias() . ', option, variant')->leftJoin($this->getAlias() . '.options', 'option')->leftJoin($this->getAlias() . '.variants', 'variant');
 }