BF [2983810] - Zoom across not working properly

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2983810&group_id=176962
This commit is contained in:
trifonnt 2010-04-23 11:06:35 +00:00
parent 329af57c3c
commit e63826e357
1 changed files with 2 additions and 2 deletions

View File

@ -118,12 +118,12 @@ public class GenericZoomProvider implements IZoomProvider {
query.setZoomValue(po.get_ID());
String sql = "SELECT COUNT(*) FROM " + targetTableName + " WHERE "
+ query.getWhereClause(false);
+ Env.parseVariable(query.getWhereClause(false), po, null, false);
int count = DB.getSQLValue(null, sql);
query.setRecordCount(count);
return query;
} // checkTarget
}
}