When applying criteria on fetchData, if the field name of the criteria has customSQL="true" in the datasource file, the criteria does not work. For example, in my datasource file I have a field:
and when I run: fetchData({department_id: 5}), the returned data is not as expected, it just returns all data without taking into consideration the criteria I passed in the fetchData method.
Is there a way to fix that, maybe add an attribute in the data source field, or in the operation binding.
Using SmartClient Version: v11.1p_2021-05-26/Enterprise Deployment (built 2021-05-26)
Thank you
Code:
<field name="department_id" type="integer" customSQL="true" canSave="false"></field>
Is there a way to fix that, maybe add an attribute in the data source field, or in the operation binding.
Using SmartClient Version: v11.1p_2021-05-26/Enterprise Deployment (built 2021-05-26)
Thank you
Comment