Merge pull request #44 from kevgliss/domains
Fixing bug were domains would not have correct pagination
This commit is contained in:
commit
74525e8e8e
|
@ -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