diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ZoomCommand.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ZoomCommand.java index f3db10a76b..1ba2474890 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ZoomCommand.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ZoomCommand.java @@ -70,6 +70,9 @@ public class ZoomCommand implements AuService { MQuery query = new MQuery(tableName); query.addRestriction(columnName, MQuery.EQUAL, code); query.setRecordCount(1); + query.setZoomTableName(tableName); + query.setZoomColumnName(columnName); + query.setZoomValue(code); Events.postEvent(new ZoomEvent(comp, query));