fix pagination

pull/4159/head
Jens Ulferts 9 years ago
parent ea378f7039
commit 3db9197a1c
  1. 5
      frontend/app/components/routing/wp-list/wp-list.controller.ts

@ -249,10 +249,7 @@ function WorkPackagesListController($scope,
} else { } else {
exJson.meta.sums = new Array(exJson.meta.columns.length); exJson.meta.sums = new Array(exJson.meta.columns.length);
} }
exJson.meta.total_entries = workPackages.total;
// TODO: no longer use detour over $source once the properties are available
// directly on the CollectionResource
exJson.meta.total_entries = workPackages.$source.total;
} }
// Go // Go

Loading…
Cancel
Save