-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Referenced fields on custom dashboard collections do not work properly #703
Comments
Let me reduce the description to your problem. You say that the following configuration works in the listView:
While the following doesn't work in the dashboard:
Right? Are you using the HEAD of the master branch, or a tagged version? |
Correct. Using HEAD on master. |
If it helps any, this is the error I get when trying to use reference columns on custom dashboard layout,
|
I am having the same problem as well. When I use a reference field in a list or show view, it works fine. But if I use it in a collection, it rarely works (never in a custom dashboard, and only sometimes in the out-of-the-box dashboard). The error I get is e.datastore does not exist (using the minified version of 0.9.1) |
My issue was fixed by adding a datastore="dashboardController.datastore" attribute on my ma-dashboard-panel tags in my custom template HTML. That attribute is missing from one of the columns in the default dashboard; also the dashboard configuration documentation does not mention that it needs to be included. |
Confirmed, solved my issue as well. Thanks @josephwmorse |
I have a custom dashboard collection using reference fields. When I use the reference fields in the standard model, they work as expected. When I use them in the custom dashboard collection, they do not work at all, except when I define their type as reference_many. In this case, they work sporadically. (ex see: submissionMonth and carrierId fields)
Standard data model:
Custom collections model:
The text was updated successfully, but these errors were encountered: