summaryrefslogtreecommitdiff
path: root/plugins/af_psql_trgm
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-01-19 16:42:10 +0300
committerAndrew Dolgov <[email protected]>2015-01-19 16:42:10 +0300
commitd806953471684c45b3ebe93de46fb4294f55ca49 (patch)
tree41859884c13ede53303fe23e6f0d07f198baf355 /plugins/af_psql_trgm
parentf52879fed516925a1cc026401671bcb083880e13 (diff)
trgm: extend relative articles search interval
Diffstat (limited to 'plugins/af_psql_trgm')
-rw-r--r--plugins/af_psql_trgm/init.php2
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");