IDEMPIERE-6247: Issue with Zoom Across when several records should open a window using ZoomCondition (#2464)
This commit is contained in:
parent
43c78b3018
commit
a2a86c62bf
|
|
@ -385,7 +385,7 @@ public class MZoomCondition extends X_AD_ZoomCondition implements ImmutablePOSup
|
||||||
|
|
||||||
MTable table = MTable.get(Env.getCtx(), getAD_Table_ID());
|
MTable table = MTable.get(Env.getCtx(), getAD_Table_ID());
|
||||||
String tableName = table.getTableName();
|
String tableName = table.getTableName();
|
||||||
StringBuilder builder = new StringBuilder("SELECT Count(*) FROM ");
|
StringBuilder builder = new StringBuilder("SELECT 1 FROM ");
|
||||||
builder.append(tableName)
|
builder.append(tableName)
|
||||||
.append(" WHERE ")
|
.append(" WHERE ")
|
||||||
.append(whereClause)
|
.append(whereClause)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue