diff --git a/src/Oro/Bundle/ActivityListBundle/Provider/ActivityListIdProvider.php b/src/Oro/Bundle/ActivityListBundle/Provider/ActivityListIdProvider.php index d94bd2d5f7a..78f27db4711 100644 --- a/src/Oro/Bundle/ActivityListBundle/Provider/ActivityListIdProvider.php +++ b/src/Oro/Bundle/ActivityListBundle/Provider/ActivityListIdProvider.php @@ -168,7 +168,7 @@ private function loadListDataIds(QueryBuilder $qb, $entityClass, $entityId, $fil $this->getListDataIdsForInheritances($getIdsQb, $entityClass, $entityId, $filter, $pageFilter) ); - $this->sortListDataIds($ids, $pageFilter, $orderBy); + $ids = $this->sortListDataIds($ids, $pageFilter, $orderBy); $numberOfUnfilteredIds = count($ids); if ($grouping) {