diff options
author | Andrew Dolgov <[email protected]> | 2015-01-19 18:18:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-01-19 18:18:03 +0300 |
commit | 94238b143a031d731341e1e344e7032f19f397ca (patch) | |
tree | 55bca1aeb2de2dd1fe95846a21bc359a12f5ef15 | |
parent | d806953471684c45b3ebe93de46fb4294f55ca49 (diff) |
related: do not consider negative scored headlines
-rw-r--r-- | plugins/af_psql_trgm/init.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index 559a5a71c..02a0faba3 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 |