Skip to content
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

extraFields expamle #31

Open
hasanbinboga opened this issue Apr 26, 2017 · 1 comment
Open

extraFields expamle #31

hasanbinboga opened this issue Apr 26, 2017 · 1 comment

Comments

@hasanbinboga
Copy link

Hi,
First of all I am grateful for this beautiful package. The help documentation is sufficient for many basic functions.
But in my case I need to access the helper of a collection and the data of another collection.
For example:

Lists.helpers({ todos() { return Todos.find({ listId: this._id }, { sort: { createdAt: -1 } }); }, });

In the help document:

extraFields fields to be subscribed but not displayed in the table. Can be used if collection helper depends on the field which is not in the table.

But I don't figure out, how I subscribe Todos in client .

I would be glad if you help.

yours sincerely.

@otech-nl
Copy link

Your problem is probably not in the extra fields, but in dependencies on other collections.

Please, check here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants