IDEMPIERE-4448 Autocomplete/Info Window doesn't work correctly with Search fields with Reference - fix reports with ID references (#1108)
This commit is contained in:
parent
950e674a30
commit
0232b2e8f3
|
@ -664,6 +664,11 @@ public class MLookupFactory
|
||||||
pstmt = null;
|
pstmt = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boolean showID = DisplayColumn.equals(TableName+"_ID");
|
||||||
|
if (showID) {
|
||||||
|
return getLookup_TableDirEmbed(language, DisplayColumn, BaseTable, BaseColumn);
|
||||||
|
}
|
||||||
|
|
||||||
// If it's self referencing then use other alias - teo_sarca [ 1739544 ]
|
// If it's self referencing then use other alias - teo_sarca [ 1739544 ]
|
||||||
if (TableName.equals(BaseTable)) {
|
if (TableName.equals(BaseTable)) {
|
||||||
TableNameAlias = TableName + "1";
|
TableNameAlias = TableName + "1";
|
||||||
|
|
Loading…
Reference in New Issue