Filter criteria for onetomany entity

Hello,
I am new to CUBA framework. I must say I am quite impressed with features available out of the box. I was trying out various features. I was trying out @onetomany with composition. I see that the filter criteria does not include the child entity. Whereas on @manytoone side it includes the parent entity filters.

Is there any way to include filter of child entity in parent filter screen?

Thanks in advance.

Hi,

if you are talking about the browse screen of the parent entity, you can achieve that via the filter component. In a blog post I wrote about that very long ago: CUBA filters - the fast food of business software? – Road to CUBA and beyond...

There you have the example of Order <>–> LineItem → Product, where all orders should be loaded that contains a line item that is associated to a product of a particular name.

I hope this helps.

Bye
Mario