This commit is contained in:
Jeremy Benoist 2016-09-03 19:26:23 +02:00
parent 59ddb9ae99
commit 234ad94453
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C

View File

@ -36,9 +36,9 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa
}
/**
* Return number of entries depending of the type (unread, archive, starred or all)
* Return number of entries depending of the type (unread, archive, starred or all).
*
* @param string $type Type of entries to count
* @param string $type Type of entries to count
*
* @return int
*/
@ -78,7 +78,7 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa
->groupBy('e.id')
->getQuery();
$data =$this->repository
$data = $this->repository
->enableCache($query)
->getArrayResult();