diff options
author | Andrew Dolgov <[email protected]> | 2015-01-19 16:42:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-01-19 16:42:10 +0300 |
commit | d806953471684c45b3ebe93de46fb4294f55ca49 (patch) | |
tree | 41859884c13ede53303fe23e6f0d07f198baf355 | |
parent | f52879fed516925a1cc026401671bcb083880e13 (diff) |
trgm: extend relative articles search interval
-rw-r--r-- | plugins/af_psql_trgm/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index 97187a602..559a5a71c 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"); |