trgm: extend relative articles search interval
This commit is contained in:
parent
f52879fed5
commit
d806953471
|
@ -65,7 +65,7 @@ class Af_Psql_Trgm extends Plugin {
|
||||||
ttrss_entries.id = ref_id AND
|
ttrss_entries.id = ref_id AND
|
||||||
ttrss_user_entries.owner_uid = $owner_uid AND
|
ttrss_user_entries.owner_uid = $owner_uid AND
|
||||||
ttrss_entries.id != $id AND
|
ttrss_entries.id != $id AND
|
||||||
date_entered >= NOW() - INTERVAL '1 week'
|
date_entered >= NOW() - INTERVAL '2 weeks'
|
||||||
ORDER BY
|
ORDER BY
|
||||||
sm DESC, date_entered DESC
|
sm DESC, date_entered DESC
|
||||||
LIMIT 10");
|
LIMIT 10");
|
||||||
|
|
Loading…
Reference in New Issue