summaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar plopoyop <clement@iMac-de-Clement.local> 2014-09-19 09:07:11 +0200
committerGravatar plopoyop <clement@iMac-de-Clement.local> 2014-09-19 09:07:11 +0200
commitffbfbb92cc89c5ae07e0a28ee3477fcd0c44505d (patch)
tree827469859e1300f3525196658b7191fa1dbb40f9 /app/Models/EntryDAO.php
parent4fd1478e82dabaa042f4e80d4b9b2830f29a7da8 (diff)
parent2f5304a1f7052bce1315f2ed85141568f0995e7c (diff)
Merge branch 'dev' of https://github.com/marienfressinaud/FreshRSS 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 ';