Closed dostapn closed 3 years ago
role: { source: "User.role", cond: :filter_role_condition},
It should be :
role: { source: "User.role", cond: filter_role_condition},
This will call the method filter_role_condition
which returns a lambda ->(column, value) do
which will be executed later to filter records.
btw you should update to v1.3.0. It raises an error on invalid cond:
param like this one.
i cant find any syntax rules for writing custom conditions, only for 0.4.0 but any of these is not working