db.SQLQueryComposer allow prependSortingCriteria call with addAliasFieldNames
Change-Id: I05889ccac213743a55c302bd7249b30f817c0428
This commit is contained in:
parent
b107e8a126
commit
27cab1806f
1 changed files with 6 additions and 1 deletions
|
@ -154,12 +154,17 @@ public class SQLQueryComposer
|
|||
}
|
||||
|
||||
public void prependSortingCriteria() throws SQLException
|
||||
{
|
||||
prependSortingCriteria(false);
|
||||
}
|
||||
|
||||
public void prependSortingCriteria(boolean _baddAliasFieldNames) throws SQLException
|
||||
{
|
||||
XIndexAccess xColumnIndexAccess = m_xQueryAnalyzer.getOrderColumns();
|
||||
m_queryComposer.setOrder("");
|
||||
for (int i = 0; i < CurDBMetaData.getSortFieldNames().length; i++)
|
||||
{
|
||||
appendSortingCriterion(i, false);
|
||||
appendSortingCriterion(i, _baddAliasFieldNames);
|
||||
}
|
||||
for (int i = 0; i < xColumnIndexAccess.getCount(); i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue