1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

Entries filter on language

+ updated deps
This commit is contained in:
Jeremy Benoist 2015-09-23 07:55:55 +02:00
parent 0d3bafdfdf
commit d4ebe5c5dc
8 changed files with 255 additions and 65 deletions

View file

@ -192,7 +192,7 @@ class EntryController extends Controller
throw new \InvalidArgumentException(sprintf('Type "%s" is not implemented.', $type));
}
$form = $this->get('form.factory')->create(new EntryFilterType());
$form = $this->get('form.factory')->create(new EntryFilterType($repository, $this->getUser()));
if ($request->query->has($form->getName())) {
// manually bind values from the request