Hi Isomorphic,
please see this code excerpt using v10.0p_2015-04-30:
Following the return of ac.asString() in the debugger:
After constructor:
After 1st addCriteria (bug here):
After 2nd addCriteria:
Best regards
Blama
please see this code excerpt using v10.0p_2015-04-30:
Code:
setHilites(new Hilite[] { new Hilite() { { AdvancedCriteria ac = new AdvancedCriteria(OperatorId.OR); ac.addCriteria(new Criterion(currentStatusLGFHidden.getName(), OperatorId.EQUALS, ListGridFieldLeadstatus.DISMISSEDAFTERPICKING)); ac.addCriteria(new Criterion(currentStatusLGFHidden.getName(), OperatorId.EQUALS, ListGridFieldLeadstatus.DISMISSEDBEFOREPICKING)); setCriteria(ac); setCssText("font-weight:bold; color:#FF0000;"); } } });
After constructor:
Code:
{ "operator":"or", "_constructor":"AdvancedCriteria" }
Code:
{ "operator":"[B]and[/B]", "_constructor":"AdvancedCriteria", "criteria":[ { "fieldName":"STATUS_SHORTNAME", "operator":"equals", "value":"dismissedAfterPicking" } ] }
Code:
{ "operator":"and", "_constructor":"AdvancedCriteria", "criteria":[ { "fieldName":"STATUS_SHORTNAME", "operator":"equals", "value":"dismissedAfterPicking" }, { "fieldName":"STATUS_SHORTNAME", "operator":"equals", "value":"dismissedBeforePicking" } ] }
Blama
Comment