IDEMPIERE-2166 SuperUser can't reset default grid - by removing all columns

This commit is contained in:
Carlos Ruiz 2014-09-05 11:14:40 -05:00
parent c02a761dbe
commit 5f571eabd7
1 changed files with 1 additions and 1 deletions

View File

@ -32,6 +32,6 @@ public class MTabCustomization extends X_AD_Tab_Customization {
*/
public static MTabCustomization get(Properties ctx, int AD_User_ID, int AD_Tab_ID, String trxName) {
Query query = new Query(ctx, Table_Name, "AD_User_ID=? AND AD_Tab_ID=?", trxName);
return query.setParameters(new Object[]{AD_User_ID, AD_Tab_ID}).first();
return query.setClient_ID().setParameters(new Object[]{AD_User_ID, AD_Tab_ID}).first();
}
}