From: Andrew Dolgov Date: Mon, 19 Jan 2015 15:18:03 +0000 (+0300) Subject: related: do not consider negative scored headlines X-Git-Tag: 16.3~374 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=94238b143a031d731341e1e344e7032f19f397ca;p=tt-rss.git related: do not consider negative scored headlines --- diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index 559a5a71..02a0faba 100644 --- a/plugins/af_psql_trgm/init.php +++ b/plugins/af_psql_trgm/init.php @@ -65,6 +65,7 @@ class Af_Psql_Trgm extends Plugin { ttrss_entries.id = ref_id AND ttrss_user_entries.owner_uid = $owner_uid AND ttrss_entries.id != $id AND + score >= 0 AND date_entered >= NOW() - INTERVAL '2 weeks' ORDER BY sm DESC, date_entered DESC