diff --git a/app/Models/Search/ActionT.php b/app/Models/Search/ActionT.php index eaad33d6..3757cf2f 100644 --- a/app/Models/Search/ActionT.php +++ b/app/Models/Search/ActionT.php @@ -39,7 +39,8 @@ class ActionT extends Method $query = 'SELECT t.id FROM ::topics AS t WHERE t.forum_id IN (?ai:forums) AND t.moved_to=0 - ORDER BY t.last_post DESC'; + ORDER BY t.last_post DESC + LIMIT 1000'; break; case 'unanswered_topics': $query = 'SELECT t.id