Announcement

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

    implicitCriteria as simple criteria becomes advanced criteria with duplicated criterions

    SmartClient Version: v12.1p_2022-10-18/AllModules Development Only (built 2022-10-18)

    Chrome on MacOS

    Hello, please modify the xmlDataSource sample in the showcase like this:

    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:500, height:224, alternateRecordStyles:true, showAllRecords:true,
        dataSource: countryDS,
        autoFetchData: true,
        implicitCriteria: {'countryCode': 'US'}
    })
    you'll see in the RPC tab of the dev console, for the fetch operation, an AdvancedCriteria like that:

    Code:
     data:{
            operator:"and",
            criteria:[
                {
                    fieldName:"countryCode",
                    operator:"iContains",
                    value:"US"
                },
                {
                    fieldName:"countryCode",
                    operator:"iContains",
                    value:"US"
                }
            ]
        },

    #2
    Hi Isomorphic, Hi claudiobosticco,

    this is definitely related to this one.

    Best regards
    Blama

    Comment


      #3
      Thanks guys - we're making changes in this area right now, so we'll update here when it's been addressed.

      Comment


        #4
        This has been addressed in all branches for tomorrow's builds, dated October 21 or later.

        The problem was that cache-sync fixes mean that implicitCriteria is now properly combined at the ResultSet/ResultTree level, but the old combination logic was still running at the DataSource level. That latter stuff has been removed.

        Comment


          #5
          Hello, just to confirm that I see it fixed in build 12.1-p20221031, thank you very much

          Comment

          Working...
          X