The Tab Sort without parent column
http://sourceforge.net/tracker/?func=detail&atid=879335&aid=2826406&group_id=176962
This commit is contained in:
parent
40163bcf52
commit
eabb608534
|
@ -425,6 +425,11 @@ public class VSortTab extends CPanel implements APanelTab
|
|||
{
|
||||
sql.append(" WHERE t.").append(m_ParentColumnName).append("=?");
|
||||
}
|
||||
else
|
||||
{
|
||||
sql.append(" WHERE 1=1");
|
||||
}
|
||||
|
||||
if (m_IdentifierTranslated)
|
||||
sql.append(" AND t.").append(m_KeyColumnName).append("=tt.").append(m_KeyColumnName)
|
||||
.append(" AND tt.AD_Language=?");
|
||||
|
|
|
@ -406,6 +406,10 @@ public class ADSortTab extends Panel implements IADTabpanel
|
|||
{
|
||||
sql.append(" WHERE t.").append(m_ParentColumnName).append("=?");
|
||||
}
|
||||
else
|
||||
{
|
||||
sql.append(" WHERE 1=1");
|
||||
}
|
||||
if (m_IdentifierTranslated)
|
||||
sql.append(" AND t.").append(m_KeyColumnName).append("=tt.").append(m_KeyColumnName)
|
||||
.append(" AND tt.AD_Language=?");
|
||||
|
|
Loading…
Reference in New Issue