diff options
| author | 2014-01-08 00:05:00 -0500 | |
|---|---|---|
| committer | 2014-01-08 00:05:00 -0500 | |
| commit | 46a5bdea25c0ae0624082dd08f3c41060e7fed86 (patch) | |
| tree | f0736f104e14fa8095aae13d8f3afb18446690b5 /app/Models/EntryDAO.php | |
| parent | d31fcb404231b39f1107a32531b972f97ad75b8d (diff) | |
Ajout d'un filtre sur les articles lus
Ajout d'un filtre sur les articles favoris
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index 9070ae426..aaf4dcf6a 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -293,6 +293,9 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo { case 'read': $where .= 'AND e1.is_read = 1 '; break; + case 'favorite': + $where .= 'AND e1.is_favorite = 1 '; + break; default: throw new FreshRSS_EntriesGetter_Exception ('Bad state in Entry->listByType: [' . $state . ']!'); } |
