aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-17 11:24:31 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-17 11:24:31 +0200
commit6e140d82b033e1304d7495d990ec0295fa7ffaa1 (patch)
tree62d0aff4bb319c0946d6560dbea964496f82c59b /app/Models/EntryDAO.php
parentfc5cae981f906bc887eaf053b1826f9153210423 (diff)
parent9fec7f328b077993499c282ccb59414fb50ca84f (diff)
Merge branch 'aledeg-reading-conf' into dev
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index 75a8aeba4..dee49212d 100644
--- a/app/Models/EntryDAO.php
+++ b/app/Models/EntryDAO.php
@@ -338,6 +338,9 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {
elseif ($state & FreshRSS_Entry::STATE_READ) {
$where .= 'AND e1.is_read=1 ';
}
+ elseif ($state & FreshRSS_Entry::STATE_NOT_READ_STRICT) {
+ $where .= 'AND e1.is_read=0 ';
+ }
if ($state & FreshRSS_Entry::STATE_FAVORITE) {
if (!($state & FreshRSS_Entry::STATE_NOT_FAVORITE)) {
$where .= 'AND e1.is_favorite=1 ';