FIX: page starts at 1 (#7844)
This commit is contained in:
parent
8404921b91
commit
72441e2c7c
|
@ -18,7 +18,7 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
||||||
init() {
|
init() {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
|
|
||||||
this._page = 0;
|
this._page = 1;
|
||||||
this._results = [];
|
this._results = [];
|
||||||
this._canLoadMore = true;
|
this._canLoadMore = true;
|
||||||
},
|
},
|
||||||
|
@ -33,7 +33,7 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
||||||
}, 250).observes("listFilter"),
|
}, 250).observes("listFilter"),
|
||||||
|
|
||||||
resetFilters() {
|
resetFilters() {
|
||||||
this._page = 0;
|
this._page = 1;
|
||||||
this._results = [];
|
this._results = [];
|
||||||
this._canLoadMore = true;
|
this._canLoadMore = true;
|
||||||
this._refreshUsers();
|
this._refreshUsers();
|
||||||
|
|
Loading…
Reference in New Issue