PaginatorFactory error fixed provisionary. This should probably be done with dependency injection throughout the whole file though, to be checked

This commit is contained in:
Julie Lenaerts 2021-08-04 15:19:43 +02:00
parent 61d8e06975
commit 3d630eeedf

View File

@ -1137,11 +1137,12 @@ class CRUDController extends AbstractController
}
/**
* @todo (check how to do this with dependency injection and make changes...)
* @return PaginatorFactory
*/
protected function getPaginatorFactory(): PaginatorFactory
{
return $this->container->get(PaginatorFactory::class);
return $this->container->get('chill_main.paginator_factory');
}
/**