Merge pull request #44 from kevgliss/domains

Fixing bug were domains would not have correct pagination
This commit is contained in:
kevgliss 2015-08-19 16:58:56 -07:00
commit 74525e8e8e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}); });