Fixing bug were domains would not have correct pagination
This commit is contained in:
parent
39c022dbf3
commit
cbcc8af3bd
|
@ -21,7 +21,7 @@ angular.module('lemur')
|
||||||
}, {
|
}, {
|
||||||
total: 0, // length of data
|
total: 0, // length of data
|
||||||
getData: function ($defer, params) {
|
getData: function ($defer, params) {
|
||||||
DomainApi.getList().then(function (data) {
|
DomainApi.getList(params.url()).then(function (data) {
|
||||||
params.total(data.total);
|
params.total(data.total);
|
||||||
$defer.resolve(data);
|
$defer.resolve(data);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue