diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-21 17:49:20 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-21 17:49:20 +0200 |
commit | f506da40e2573a98cd84159b2ee36621220a2771 (patch) | |
tree | 4c14cdb582ddd7fe43e9081e052144270bd28758 /src/Wallabag/CoreBundle/Repository/EntryRepository.php | |
parent | 78f66dcc527943e2ebb7e58108e3a5bb257f75b5 (diff) | |
parent | 3b84dc08fcc663f758c4fbba186aeb95f212fddd (diff) | |
download | wallabag-f506da40e2573a98cd84159b2ee36621220a2771.tar.gz wallabag-f506da40e2573a98cd84159b2ee36621220a2771.tar.zst wallabag-f506da40e2573a98cd84159b2ee36621220a2771.zip |
Merge pull request #1385 from wallabag/v2-status-filter
filters: implement status filter and a new view (to display all entries)
Diffstat (limited to 'src/Wallabag/CoreBundle/Repository/EntryRepository.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Repository/EntryRepository.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 5538ae82..e764e8f7 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php | |||
@@ -25,6 +25,20 @@ class EntryRepository extends EntityRepository | |||
25 | } | 25 | } |
26 | 26 | ||
27 | /** | 27 | /** |
28 | * Retrieves all entries for a user. | ||
29 | * | ||
30 | * @param int $userId | ||
31 | * | ||
32 | * @return QueryBuilder | ||
33 | */ | ||
34 | public function getBuilderForAllByUser($userId) | ||
35 | { | ||
36 | return $this | ||
37 | ->getBuilderByUser($userId) | ||
38 | ; | ||
39 | } | ||
40 | |||
41 | /** | ||
28 | * Retrieves unread entries for a user. | 42 | * Retrieves unread entries for a user. |
29 | * | 43 | * |
30 | * @param int $userId | 44 | * @param int $userId |