Added route to list entries with annotations

This commit is contained in:
Nicolas Lœuillet
2020-04-20 19:00:58 +02:00
committed by Jeremy Benoist
parent 9a6146d2ef
commit dce50ddb79
23 changed files with 143 additions and 4 deletions

View File

@ -95,6 +95,9 @@ class WallabagExtension extends AbstractExtension implements GlobalsInterface
case 'unread':
$qb = $this->entryRepository->getBuilderForUnreadByUser($user->getId());
break;
case 'with_annotations':
$qb = $this->entryRepository->getBuilderForAnnotationsByUser($user->getId());
break;
case 'all':
$qb = $this->entryRepository->getBuilderForAllByUser($user->getId());
break;