forked from wallabag/wallabag
Enhanced tests and changed route
This commit is contained in:
committed by
Jeremy Benoist
parent
0aeaf0e8c2
commit
6dfc031839
@ -47,7 +47,7 @@ class ExportController extends Controller
|
||||
*
|
||||
* @Route("/export/{category}.{format}", name="export_entries", requirements={
|
||||
* "format": "epub|mobi|pdf|json|xml|txt|csv",
|
||||
* "category": "all|unread|starred|archive|tag_entries|untagged|search|with_annotations|same_domain"
|
||||
* "category": "all|unread|starred|archive|tag_entries|untagged|search|annotated|same_domain"
|
||||
* })
|
||||
*
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
@ -80,7 +80,7 @@ class ExportController extends Controller
|
||||
->getResult();
|
||||
|
||||
$title = 'Search ' . $searchTerm;
|
||||
} elseif ('with_annotations' === $category) {
|
||||
} elseif ('annotated' === $category) {
|
||||
$entries = $repository->getBuilderForAnnotationsByUser(
|
||||
$this->getUser()->getId()
|
||||
)->getQuery()
|
||||
|
||||
Reference in New Issue
Block a user