From: Andrew Dolgov Date: Mon, 19 Jan 2015 13:42:10 +0000 (+0300) Subject: trgm: extend relative articles search interval X-Git-Tag: 16.3~375 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d806953471684c45b3ebe93de46fb4294f55ca49;p=tt-rss.git trgm: extend relative articles search interval --- diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index 97187a60..559a5a71 100644 --- a/plugins/af_psql_trgm/init.php +++ b/plugins/af_psql_trgm/init.php @@ -65,7 +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 - date_entered >= NOW() - INTERVAL '1 week' + date_entered >= NOW() - INTERVAL '2 weeks' ORDER BY sm DESC, date_entered DESC LIMIT 10");