IDEMPIERE-6247: Issue with Zoom Across when several records should open a window using ZoomCondition (#2464)

This commit is contained in:
Nicolas Micoud 2024-10-04 09:03:54 +02:00 committed by Carlos Ruiz
parent 43c78b3018
commit a2a86c62bf
1 changed files with 1 additions and 1 deletions

View File

@ -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)