You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build a chart I should be able to to filter by the presence or non presence of a field which is a reference to another model
Actual behavior
ForestAdmin forces me to pick a subfield from the other model. What makes it worse is that the submodel is not populated n the query and this causes the graph to be wrong.
Now i want to make a condition: request.requestType is present. your current liana doesnt let me do so.
If I add request.requestType.id is present, it seems to ignore this, because I dont this field is populated by default.
The text was updated successfully, but these errors were encountered:
arnaudbesnier
changed the title
ForestAdmin gets confused when dealing with model references in charts
[*] Charts - ForestAdmin gets confused when dealing with model references in charts
May 26, 2019
Expected behavior
When I build a chart I should be able to to filter by the presence or non presence of a field which is a reference to another model
Actual behavior
ForestAdmin forces me to pick a subfield from the other model. What makes it worse is that the submodel is not populated n the query and this causes the graph to be wrong.
Failure Logs
NA
Context
My models look as follows
Request {
id: ...
...
requestType: {
ref: RequestType,
type: ObjectId
}
}
Now i want to make a condition: request.requestType is present. your current liana doesnt let me do so.
If I add request.requestType.id is present, it seems to ignore this, because I dont this field is populated by default.
The text was updated successfully, but these errors were encountered: