aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2020-04-20 19:00:58 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2020-04-20 19:00:58 +0200
commit4b997bc8b27fc25efd1f7a0797b78ee666ef9688 (patch)
treec75d7900ee1c30a7ee323efbf760d6389916b1b9 /src/Wallabag/CoreBundle/Twig
parent7443da479f5289c2ceebb96c0cd4273f6445ca37 (diff)
downloadwallabag-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.php3
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;