summaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-24 01:21:11 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-24 01:21:11 +0100
commit87bfa195a6ff4ff73baadd3c04b7b6f28c9f9b73 (patch)
tree927fbfc08401e69d81c0e14fb1fb54d878ac97dd /app/Models/EntryDAO.php
parentffbe676d7d33f8e075018bfa35f0d919e3e1a9bf (diff)
Permet de configurer plus finement le nombre d’articles minimum à conserver par flux
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index c6bd5c404..f0207e96d 100644
--- a/app/Models/EntryDAO.php
+++ b/app/Models/EntryDAO.php
@@ -307,7 +307,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {
$where .= 'AND e1.id ' . ($order === 'DESC' ? '<=' : '>=') . $firstId . ' ';
}
if (($date_min > 0) && ($type !== 's')) {
- $where .= 'AND (e1.id >= ' . $date_min . '000000 OR e1.is_favorite = 1 OR f.keep_history = 1) ';
+ $where .= 'AND (e1.id >= ' . $date_min . '000000 OR e1.is_favorite = 1 OR f.keep_history <> 0) ';
$joinFeed = true;
}
$search = '';