In the UI I can apply filters on this relationship. The problem is, that the filter seems to be ignored in this example because request.query.filters is not applied.
Is it possible to also apply the filter query when searching for the relations?
To sum up, you created a has-many smart relationship, and you wish to be able to filter it in the UI when being on Related data?
Did you override the relationship route? Could you share it with us?
To make the filter taken into account, you can access it thanks to request.query.filters and use it according to your use case.
Yes I did overwrite the relationship route.
I did the same as described in the documentation Option 1: using Sequelize ORM
In the provided example customers.findAll is used to search for the related data. The include parameter contains a where clause.
But request.query.filters is ignored. How can I add the request.query.filters to the include parameter? Is there an option to convert it to such a where clause?