diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-20 19:00:58 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-20 19:00:58 +0200 |
commit | 4b997bc8b27fc25efd1f7a0797b78ee666ef9688 (patch) | |
tree | c75d7900ee1c30a7ee323efbf760d6389916b1b9 /src/Wallabag/CoreBundle/Twig | |
parent | 7443da479f5289c2ceebb96c0cd4273f6445ca37 (diff) | |
download | wallabag-4b997bc8b27fc25efd1f7a0797b78ee666ef9688.tar.gz wallabag-4b997bc8b27fc25efd1f7a0797b78ee666ef9688.tar.zst wallabag-4b997bc8b27fc25efd1f7a0797b78ee666ef9688.zip |
Added route to list entries with annotations
Diffstat (limited to 'src/Wallabag/CoreBundle/Twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Twig/WallabagExtension.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php index 47af3c8e..e0f67375 100644 --- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php +++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php | |||
@@ -94,6 +94,9 @@ class WallabagExtension extends AbstractExtension implements GlobalsInterface | |||
94 | case 'unread': | 94 | case 'unread': |
95 | $qb = $this->entryRepository->getBuilderForUnreadByUser($user->getId()); | 95 | $qb = $this->entryRepository->getBuilderForUnreadByUser($user->getId()); |
96 | break; | 96 | break; |
97 | case 'with_annotations': | ||
98 | $qb = $this->entryRepository->getBuilderForAnnotationsByUser($user->getId()); | ||
99 | break; | ||
97 | case 'all': | 100 | case 'all': |
98 | $qb = $this->entryRepository->getBuilderForAllByUser($user->getId()); | 101 | $qb = $this->entryRepository->getBuilderForAllByUser($user->getId()); |
99 | break; | 102 | break; |