mail: add pagination to mailboxes UI
This commit is contained in:
@@ -2111,11 +2111,12 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
// Mailboxes
|
||||
Client.prototype.getMailboxes = function (domain, callback) {
|
||||
Client.prototype.getMailboxes = function (domain, search, page, perPage, callback) {
|
||||
var config = {
|
||||
params: {
|
||||
page: 1,
|
||||
per_page: 1000
|
||||
search: search,
|
||||
page: page,
|
||||
per_page: perPage
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user