Commit 19d946fa652b528d385f151ecaa8765acc79ffe2
1 parent
a31408fa
Added 'per_page' param into @StateConfig environment router definition
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/app/environment/environment.component.ts
src/app/search/search.component.ts
... | ... | @@ -20,6 +20,7 @@ export class SearchComponent { |
20 | 20 | constructor(private articleService: ArticleService, private $stateParams: ng.ui.IStateParamsService, private $state: ng.ui.IStateService) { |
21 | 21 | this.query = this.$stateParams['query']; |
22 | 22 | this.perPage = this.$stateParams['per_page'] || this.perPage; |
23 | + debugger; | |
23 | 24 | this.loadPage(); |
24 | 25 | } |
25 | 26 | ... | ... |