mail: Add pagination to lists UI

This commit is contained in:
Girish Ramakrishnan
2020-07-05 11:55:17 -07:00
parent a9a9af9ef7
commit f51eccdef7
3 changed files with 30 additions and 6 deletions

View File

@@ -2201,11 +2201,12 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.listMailingLists = function (domain, callback) {
Client.prototype.listMailingLists = function (domain, search, page, perPage, callback) {
var config = {
params: {
page: 1,
per_page: 1000
search: search,
page: page,
per_page: perPage
}
};