related: do not consider negative scored headlines
This commit is contained in:
parent
d806953471
commit
94238b143a
|
@ -65,6 +65,7 @@ class Af_Psql_Trgm extends Plugin {
|
||||||
ttrss_entries.id = ref_id AND
|
ttrss_entries.id = ref_id AND
|
||||||
ttrss_user_entries.owner_uid = $owner_uid AND
|
ttrss_user_entries.owner_uid = $owner_uid AND
|
||||||
ttrss_entries.id != $id AND
|
ttrss_entries.id != $id AND
|
||||||
|
score >= 0 AND
|
||||||
date_entered >= NOW() - INTERVAL '2 weeks'
|
date_entered >= NOW() - INTERVAL '2 weeks'
|
||||||
ORDER BY
|
ORDER BY
|
||||||
sm DESC, date_entered DESC
|
sm DESC, date_entered DESC
|
||||||
|
|
Loading…
Reference in New Issue