]> git.wh0rd.org Git - tt-rss.git/commitdiff
trgm: extend relative articles search interval
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 19 Jan 2015 13:42:10 +0000 (16:42 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 19 Jan 2015 13:42:10 +0000 (16:42 +0300)
plugins/af_psql_trgm/init.php

index 97187a602a7db144d152f92764d875d410f5b0ba..559a5a71c9b151bbfe18f5086f8ca364c35f7410 100644 (file)
@@ -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");