Beispiel #1
0
 protected function _buildQueryGroup(Library\DatabaseQuerySelect $query)
 {
     parent::_buildQueryGroup($query);
     if (!$query->isCountQuery()) {
         $query->group('pages.pages_menu_id');
     }
 }
 protected function _buildQueryGroup(Library\DatabaseQuerySelect $query)
 {
     if (!$this->getState()->isUnique()) {
         $query->group('relations.attachments_attachment_id');
     }
     return parent::_buildQueryGroup($query);
 }
Beispiel #3
0
 protected function _buildQueryGroup(Library\DatabaseQuerySelect $query)
 {
     parent::_buildQueryGroup($query);
     $query->group('tbl.products_brand_id');
 }