Skip to content

Commit

Permalink
Step 12.2: Add the pagination default params
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 d293cbe commit 1d729e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions imports/ui/components/partiesList/partiesList.js
Expand Up @@ -13,6 +13,12 @@ class PartiesList {

$reactive(this).attach($scope);

this.perPage = 3;
this.page = 1;
this.sort = {
name: 1
};

this.subscribe('parties');

this.helpers({
Expand Down

0 comments on commit 1d729e2

Please sign in to comment.