Composition API filter on translated columns?

Hello,

how can we use a filter on a translated column that is exposed via the HandleGetByQuery()-Method within the Composition API?

The column is configured respectively and the endpoint returns the translation in the DisplayValue:

...
"CCC_WorkflowType": {
          "Value": "1",
          "IsReadOnly": true,
          "DisplayValue": "Master of Role"
},
...

The expectation is that calling the endpoint with a filter parameter returns the entity but it doesn't return any results, hence it seems like the filter mechanism does not consider MultLanguage translations:

[{ColumnName: 'CCC_WorkflowType', CompareOp: 'Like', Value1: 'Master%'}]

How can we achieve this?

Parents
  • Hello Daniel,

    The filter parameter works on raw data values and does not evaluate translations.

    There is not even a (simple) SQL query that does what you what you are trying to do. Have you tried a URL parameter  (... ?search=Master* )?

    Regards

    Hanno

  • Hello Hanno,

    we thought that we can expect a similar behavior in regard to the filter as in the grid filter of the old Webportal. Does this mean that the new Angular Webportal in 8.2 won't have any grid filter/grouping capabilities as the old Webportal offers? Or do you only rely on the search functionalities provided by the AppServer in the new Webportal?

    Best regards

Reply
  • Hello Hanno,

    we thought that we can expect a similar behavior in regard to the filter as in the grid filter of the old Webportal. Does this mean that the new Angular Webportal in 8.2 won't have any grid filter/grouping capabilities as the old Webportal offers? Or do you only rely on the search functionalities provided by the AppServer in the new Webportal?

    Best regards

Children