* [story#60484,0.5h] add order.

This commit is contained in:
qixinzhi
2024-09-04 16:10:43 +08:00
committed by 代婷婷
parent 441cbc5c09
commit b1ec08d3f7
+2 -2
View File
@@ -655,9 +655,9 @@ class pivotState
$groups = array();
foreach($selects as $select)
foreach($selects as $index => $select)
{
$groups[] = array('select' => $select, 'type' => 'agg');
$groups[] = array('select' => $select, 'type' => 'agg', 'order' => $index);
}
$this->sqlBuilder['groups'] = $groups;