Hi JMIX Team,
I know the problem explained below is very specific but i will try to explain the best i can. We are using 2.7 Version
We are having a problem with the behaviour of the filter embebbed in the columns of a datagrid.
We are using in our screen a loader with query conditions implemented as suggested in the JMIX documentation Data Loaders :: Jmix Documentation. Below is a piece of the query.

If we have this condition in the loader this affects the filtering behavior of the datagrid column filters. When we filter by two or more columns in the data grid, the results are wrong. After reviewing the logs we found out that SQL query instead of using AND is using OR for the conditions added by the datagrid column filters. We want to filter the 2 columns below by these 2 values.


The behaviour should be indepenent of the loader set because we have no add any query yet. We checked the SQL log and as you can see below the query is using OR instead of AND.

For testing purposue we check if the generic filter is behaving in the same manner, but the generic filter is running and AND instead of OR.

As you can see AND clause is correctly used when 2 fields are filtered with a loader using condition clauses.

Summary: Can you please check why the filter function is not working when we use the filtering in the columns of the datagrid for 2 or more values and we have query condition in the view.