Hello
I would like to use a custom filter. I have an entity - let’s call it T and it has a many-to-many link to entity named Tags.
So I can start the application and define a new search condition in filter, using the following criteria:
- condition name: tags
- join: e.tags t
- where: t.name like ?
- parameter type: String
And it is working as expected.
Now, I would like to get the same effect using CUBA Studio 6.10. So I go to browse screen, go to filter component, click on “Custom” and I have to enter the following data:
- name: tags
- caption: Tags
- paramClass: java.lang.String
- inExpr - unchecked
- query - what should I enter here?
- join - e.tags t - is it right?
- paramWhere - t.name like ?
- paramView - empty
But then nothing happens, I can select “Tags” from the condition list but this does not seem to modify my query.
What am I doing wrong?