BF [ 1665129 ] Bar Graph is not ordered

This commit is contained in:
teo_sarca 2007-02-26 11:55:02 +00:00
parent 4465790c7d
commit 09437255d5
1 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,8 @@ public class MMeasureCalc extends X_PA_MeasureCalc
} // date
String sql = addRestrictions(sb.toString(), restrictions, role);
if (groupBy != null)
sql += " GROUP BY " + groupBy;
sql += " GROUP BY " + groupBy
+ " ORDER BY " + groupBy; // teo_sarca, [ 1665129 ] Bar Graph is not ordered
//
log.fine(sql);
return sql;