Révision 6f57d8c7
Ajouté par Assos Assos il y a environ 9 ans
drupal7/sites/all/modules/views/plugins/views_plugin_query_default.inc | ||
---|---|---|
1322 | 1322 |
if (count($this->having)) { |
1323 | 1323 |
$this->has_aggregate = TRUE; |
1324 | 1324 |
} |
1325 |
elseif (!$this->has_aggregate) { |
|
1326 |
// Allow 'GROUP BY' even no aggregation function has been set. |
|
1327 |
$this->has_aggregate = $this->view->display_handler->get_option('group_by'); |
|
1328 |
} |
|
1325 | 1329 |
if ($this->has_aggregate && (!empty($this->groupby) || !empty($non_aggregates))) { |
1326 | 1330 |
$groupby = array_unique(array_merge($this->groupby, $non_aggregates)); |
1327 | 1331 |
foreach ($groupby as $field) { |
Formats disponibles : Unified diff
Weekly update of contrib modules