mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-19 11:33:11 -04:00
Improvement for ASC order
https://github.com/marienfressinaud/FreshRSS/issues/495
This commit is contained in:
@@ -230,7 +230,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {
|
||||
}
|
||||
$this->bd->beginTransaction();
|
||||
|
||||
$sql = 'UPDATE `' . $this->prefix . 'entry` '
|
||||
$sql = 'UPDATE `' . $this->prefix . 'entry` '
|
||||
. 'SET is_read=1 '
|
||||
. 'WHERE id_feed=? AND is_read=0 AND id <= ?';
|
||||
$values = array($id, $idMax);
|
||||
|
||||
Reference in New Issue
Block a user