BF [ 1982327 ] Can see data from other AD_Client
This commit is contained in:
parent
ba1ac65ecf
commit
eaf0953a45
|
@ -194,6 +194,10 @@ public class GridTabVO implements Evaluatee, Serializable
|
||||||
//jz col=null not good for Derby
|
//jz col=null not good for Derby
|
||||||
if (vo.WhereClause.indexOf("=null")>0)
|
if (vo.WhereClause.indexOf("=null")>0)
|
||||||
vo.WhereClause.replaceAll("=null", " IS NULL ");
|
vo.WhereClause.replaceAll("=null", " IS NULL ");
|
||||||
|
// Where Clauses should be surrounded by parenthesis - teo_sarca, BF [ 1982327 ]
|
||||||
|
if (vo.WhereClause.trim().length() > 0) {
|
||||||
|
vo.WhereClause = "("+vo.WhereClause+")";
|
||||||
|
}
|
||||||
|
|
||||||
vo.OrderByClause = rs.getString("OrderByClause");
|
vo.OrderByClause = rs.getString("OrderByClause");
|
||||||
if (vo.OrderByClause == null)
|
if (vo.OrderByClause == null)
|
||||||
|
|
Loading…
Reference in New Issue