From 6461cf88cfe4ff052229d4258ef5f4c071b1414e Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 21 Jun 2024 16:21:30 +0800 Subject: [PATCH] increase language limit #210 --- app/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils.py b/app/utils.py index 71070d2a..8cabd9c6 100644 --- a/app/utils.py +++ b/app/utils.py @@ -1063,7 +1063,7 @@ def languages_for_form(): ) AS subquery GROUP BY language_id ORDER BY MAX(posted_at) DESC - LIMIT 4"""), + LIMIT 10"""), {'user_id': current_user.id}).scalars() for language in Language.query.filter(Language.id.in_(recently_used_post_languages)).all(): result.append((language.id, language.name))