|
@@ -8,7 +8,7 @@ App = React.createClass({
|
|
|
// Loads items from the Tasks collection and puts them on this.data.tasks.
|
|
|
getMeteorData() {
|
|
|
let result = {
|
|
|
- tasks: Tasks.find({}).fetch()
|
|
|
+ tasks: Tasks.find({}, {sort: {createdAt: -1}}).fetch()
|
|
|
};
|
|
|
// Meteor._debug("result", result);
|
|
|
return result;
|