public function createQuery($context = 'list')
    {
        $query = parent::createQuery($context);
        $query->leftJoin($query->getRootAlias().'.template', 'template')->addSelect('template')
              ->leftJoin('template.areas', 'area')->addSelect('area')
              ->leftJoin($query->getRootAlias().'.metas', 'articleMeta')->addSelect('articleMeta')
              ->leftJoin('articleMeta.meta', 'meta')->addSelect('meta');

        return $query;
    }