Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid FilterEditor issue since 2015-07-24

    SmartClient_v100p_2015-07-24_LGPL


    Since 2015-07-24 ListGrid, _filter : function (...) patch
    replace isc.DS.flattenCriteria(...) with isc.DS.compressNestedCriteria(...)

    1. FilterEditor entry and end with [Enter]
    * ListGrid do filterData(...) Ok, but
    * FilterEditor will not refresh correct values

    2. Same ListGrid more FilterEditor entry cause error.
    * before 2015-07-24 server got:
    Code:
        _criteria_1 = {"operator": "and", "_constructor": "AdvancedCriteria", "criteria": [
        	{"fieldName": "dic_typ", "operator": "iContainsPattern", "value": "ca", "_constructor": "AdvancedCriteria"}
        ]}
    * since 2015-07-24 server got:
    Code:
        _criteria_2 = {
        	"operator": "and",
        	"_constructor": "AdvancedCriteria",
        	"criteria": [
        		{"fieldName": "dic_typ", "operator": "iContainsPattern", "value": "ca"},
        		{"operator": "equals", "fieldName": "fieldName", "value": "dic_typ"},
        		{"operator": "equals", "fieldName": "operator", "value": "iContainsPattern"},
        		{"operator": "equals", "fieldName": "value", "value": "ab"}
        	]}

    attach.
    $ diff ListGrid0721.js ListGrid0724.js

    < * Version v10.0p_2015-07-21 (2015-07-21)
    ---
    > * Version v10.0p_2015-07-24 (2015-07-24)

    < if (isc.DS.canFlattenCriteria(criteriaValues)) {
    < criteriaValues = isc.DS.flattenCriteria(criteriaValues);
    < }
    ---
    > criteriaValues = isc.DS.compressNestedCriteria(criteriaValues);



    Regards,
    Last edited by rchang111; 29 Jul 2015, 03:20. Reason: misspelling

    #2
    This is a known issue, with a fix in progress, which we expect to hit builds tomorrow.

    Comment


      #3
      this issue fixed on SmartClient_v100p_2015-08-02_LGPL, one line patch

      Comment

      Working...
      X