From 3db9197a1cfc74bf82254a0cf001a458dfca9ada Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Fri, 4 Mar 2016 09:10:32 +0100 Subject: [PATCH] fix pagination --- .../app/components/routing/wp-list/wp-list.controller.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/app/components/routing/wp-list/wp-list.controller.ts b/frontend/app/components/routing/wp-list/wp-list.controller.ts index 9f2fef22f7..134ededdb8 100644 --- a/frontend/app/components/routing/wp-list/wp-list.controller.ts +++ b/frontend/app/components/routing/wp-list/wp-list.controller.ts @@ -249,10 +249,7 @@ function WorkPackagesListController($scope, } else { exJson.meta.sums = new Array(exJson.meta.columns.length); } - - // TODO: no longer use detour over $source once the properties are available - // directly on the CollectionResource - exJson.meta.total_entries = workPackages.$source.total; + exJson.meta.total_entries = workPackages.total; } // Go