Hi, I'm trying to render the results of an aggregation within a template but it's not working.
The aggregation works based on the console logging, which is an array of the results. The template is being rendered, just not the rows of the table. Have I missed something patently obvious?
Hi, I'm trying to render the results of an aggregation within a template but it's not working.
The aggregation works based on the console logging, which is an array of the results. The template is being rendered, just not the rows of the table. Have I missed something patently obvious?
Should should the results be a mongodb cursor?
Here's the Meteor method:
Here's the route:
and the template: