Skip to content

Commit

Permalink
Step 13.9: Update current page when options change
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored and dotansimha committed Nov 27, 2016
1 parent 19ffe97 commit e6cdb3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/imports/app/parties/parties-list.component.ts
Expand Up @@ -49,6 +49,8 @@ export class PartiesListComponent implements OnInit, OnDestroy {
sort: { name: nameOrder as number }
};

this.paginationService.setCurrentPage(this.paginationService.defaultId, curPage as number);

if (this.partiesSub) {
this.partiesSub.unsubscribe();
}
Expand Down

0 comments on commit e6cdb3b

Please sign in to comment.