add pagination and filter panel to users view
This commit is contained in:
+9
-3
@@ -862,11 +862,17 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.getUsers = function (callback) {
|
||||
Client.prototype.getUsers = function (page, perPage, callback) {
|
||||
if (typeof page === 'function') {
|
||||
callback = page;
|
||||
page = 1;
|
||||
perPage = 1000;
|
||||
}
|
||||
|
||||
var config = {
|
||||
params: {
|
||||
page: 1,
|
||||
per_page: 1000
|
||||
page: page,
|
||||
per_page: perPage
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user