Hi,
In Jpql condition editor, list for enumeration not show enum not attach to an entity.
it work for :
- enum inside entity (inEntityEnum)
- enum inside other entity (in2EntityEnum)
- enum inside entity in transient mode
not work if no add into an entity (outsideEnum missing into list)
jmix_filter_enum.zip (374.7 KB)
In cuba I use this type of enum to make filter group for some user frendly case.
Clause where can be like
(enum = ‘X’ and …) or (enum= ‘Y’ and …).
i will do a transient to resolve this in dummy entity or an entity.
boring … in keyValueCollection that no real sense…
best regards,
gabriel