Skip to content

Commit

Permalink
Step 12.4: Add the sort parameter to the collection helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent 894047b commit 0d7c2dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imports/ui/components/partiesList/partiesList.js
Expand Up @@ -27,7 +27,9 @@ class PartiesList {

this.helpers({
parties() {
return Parties.find({});
return Parties.find({}, {
sort : this.getReactively('sort')
});
}
});
}
Expand Down

0 comments on commit 0d7c2dc

Please sign in to comment.