mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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() {
|
||||
this._super(...arguments);
|
||||
|
||||
this._page = 0;
|
||||
this._page = 1;
|
||||
this._results = [];
|
||||
this._canLoadMore = true;
|
||||
},
|
||||
@ -33,7 +33,7 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
||||
}, 250).observes("listFilter"),
|
||||
|
||||
resetFilters() {
|
||||
this._page = 0;
|
||||
this._page = 1;
|
||||
this._results = [];
|
||||
this._canLoadMore = true;
|
||||
this._refreshUsers();
|
||||
|
Loading…
Reference in New Issue
Block a user