IDEMPIERE-2583 Can't zoom to a sub tab from HTML Report - apply same solution than Info Windows
This commit is contained in:
parent
66b75a91fb
commit
a09aabcff8
|
@ -70,6 +70,9 @@ public class ZoomCommand implements AuService {
|
||||||
MQuery query = new MQuery(tableName);
|
MQuery query = new MQuery(tableName);
|
||||||
query.addRestriction(columnName, MQuery.EQUAL, code);
|
query.addRestriction(columnName, MQuery.EQUAL, code);
|
||||||
query.setRecordCount(1);
|
query.setRecordCount(1);
|
||||||
|
query.setZoomTableName(tableName);
|
||||||
|
query.setZoomColumnName(columnName);
|
||||||
|
query.setZoomValue(code);
|
||||||
|
|
||||||
Events.postEvent(new ZoomEvent(comp, query));
|
Events.postEvent(new ZoomEvent(comp, query));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue