public function showUnreadAction()
{
$repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries');
+ // TODO don't give the user ID like this
+ // TODO change pagination
$entries = $repository->findUnreadByUser(1, 0);
return $this->render(
public function showArchiveAction()
{
$repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries');
+ // TODO don't give the user ID like this
+ // TODO change pagination
$entries = $repository->findArchiveByUser(1, 0);
return $this->render(
public function showStarredAction()
{
$repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries');
+ // TODO don't give the user ID like this
+ // TODO change pagination
$entries = $repository->findStarredByUser(1, 0);
return $this->render(