fixes IDEMPIERE-41 - Zoom Across in Project
http://jira.idempiere.com/browse/IDEMPIERE-41
This commit is contained in:
parent
f8d3357eb1
commit
7157594458
|
@ -112,7 +112,7 @@ public class GenericZoomProvider implements IZoomProvider {
|
|||
|
||||
query.addRestriction(po.get_TableName() + "_ID=" + po.get_ID());
|
||||
if (tab.getWhereClause() != null && tab.getWhereClause().length() > 0)
|
||||
query.addRestriction(tab.getWhereClause());
|
||||
query.addRestriction("(" + tab.getWhereClause() + ")");
|
||||
query.setZoomTableName(targetTableName);
|
||||
query.setZoomColumnName(po.get_KeyColumns()[0]);
|
||||
query.setZoomValue(po.get_ID());
|
||||
|
|
Loading…
Reference in New Issue