Created
March 27, 2016 12:47
-
-
Save dai-shi/b5b99391b48270235dd8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/imports/ui/App.jsx b/imports/ui/App.jsx | |
| index 332bd6e..546d198 100644 | |
| --- a/imports/ui/App.jsx | |
| +++ b/imports/ui/App.jsx | |
| @@ -58,6 +58,6 @@ App.propTypes = { | |
| export default createContainer(() => { | |
| return { | |
| - tasks: Tasks.find({}).fetch(), | |
| + tasks: Tasks.find({}, { sort: { createdAt: -1 } }).fetch(), | |
| }; | |
| }, App); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment