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 Dotan Simha committed Nov 22, 2016
1 parent c3eb2a8 commit 90b5fe8
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 90b5fe8

Please sign in to comment.