1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-20 19:52:09 +00:00

filters: adapt queryBuilder for 'all' view

This commit is contained in:
Nicolas Lœuillet 2015-08-21 07:38:18 +02:00
parent e177976099
commit 2b7a488917
2 changed files with 19 additions and 28 deletions

View file

@ -24,6 +24,20 @@ class EntryRepository extends EntityRepository
;
}
/**
* Retrieves all entries for a user.
*
* @param int $userId
*
* @return QueryBuilder
*/
public function getBuilderForAllByUser($userId)
{
return $this
->getBuilderByUser($userId)
;
}
/**
* Retrieves unread entries for a user.
*