Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2008 at 18:12 UTC
Updated:
7 Jul 2008 at 23:33 UTC
First of all, the phpdoc indicates a return value, but the function does not return any value.
Second,
// If grouping, all items in the order by must also be in the
// group by clause.
if ($this->groupby) {
$this->add_groupby($as);
}
This code will add *any* field that's in ORDER BY clause to the GROUP BY clause, however if the field is a formula it shouldn't be added to the GROUP BY clause because then MySQL at least will return an error.
Comments
Comment #1
merlinofchaos commentedFixed. Thanks!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.