diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/EntryController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index c6c94462..25f18711 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -64,6 +64,8 @@ class EntryController extends Controller | |||
64 | public function showUnreadAction() | 64 | public function showUnreadAction() |
65 | { | 65 | { |
66 | $repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries'); | 66 | $repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries'); |
67 | // TODO don't give the user ID like this | ||
68 | // TODO change pagination | ||
67 | $entries = $repository->findUnreadByUser(1, 0); | 69 | $entries = $repository->findUnreadByUser(1, 0); |
68 | 70 | ||
69 | return $this->render( | 71 | return $this->render( |
@@ -81,6 +83,8 @@ class EntryController extends Controller | |||
81 | public function showArchiveAction() | 83 | public function showArchiveAction() |
82 | { | 84 | { |
83 | $repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries'); | 85 | $repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries'); |
86 | // TODO don't give the user ID like this | ||
87 | // TODO change pagination | ||
84 | $entries = $repository->findArchiveByUser(1, 0); | 88 | $entries = $repository->findArchiveByUser(1, 0); |
85 | 89 | ||
86 | return $this->render( | 90 | return $this->render( |
@@ -98,6 +102,8 @@ class EntryController extends Controller | |||
98 | public function showStarredAction() | 102 | public function showStarredAction() |
99 | { | 103 | { |
100 | $repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries'); | 104 | $repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries'); |
105 | // TODO don't give the user ID like this | ||
106 | // TODO change pagination | ||
101 | $entries = $repository->findStarredByUser(1, 0); | 107 | $entries = $repository->findStarredByUser(1, 0); |
102 | 108 | ||
103 | return $this->render( | 109 | return $this->render( |