[Libreoffice-commits] .: wizards/com
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Sun Aug 14 09:38:24 PDT 2011
wizards/com/sun/star/wizards/db/SQLQueryComposer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 76489b1f107b95cae09bf57c29545a05fe19ccef
Author: Gabor Jenei <jengab at elte.hu>
Date: Fri Aug 12 10:15:24 2011 +0200
Bug 38486 SQL fix
diff --git a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
index a6d2c2b..3f595f2 100644
--- a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
+++ b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
@@ -205,7 +205,7 @@ public class SQLQueryComposer
{
sOrder += ", ";
}
- sOrder += CurDBMetaData.AggregateFieldNames[iAggregate][1] + "(" + CurDBMetaData.AggregateFieldNames[iAggregate][0] + ")";
+ sOrder += CurDBMetaData.AggregateFieldNames[iAggregate][1] + "(" + getComposedAliasFieldName(CurDBMetaData.AggregateFieldNames[iAggregate][0]) + ")";
sOrder += " " + CurDBMetaData.getSortFieldNames()[i][1];
m_queryComposer.setOrder(sOrder);
}
More information about the Libreoffice-commits
mailing list