mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
increase language limit #210
This commit is contained in:
parent
f85491218c
commit
6461cf88cf
1 changed files with 1 additions and 1 deletions
|
@ -1063,7 +1063,7 @@ def languages_for_form():
|
||||||
) AS subquery
|
) AS subquery
|
||||||
GROUP BY language_id
|
GROUP BY language_id
|
||||||
ORDER BY MAX(posted_at) DESC
|
ORDER BY MAX(posted_at) DESC
|
||||||
LIMIT 4"""),
|
LIMIT 10"""),
|
||||||
{'user_id': current_user.id}).scalars()
|
{'user_id': current_user.id}).scalars()
|
||||||
for language in Language.query.filter(Language.id.in_(recently_used_post_languages)).all():
|
for language in Language.query.filter(Language.id.in_(recently_used_post_languages)).all():
|
||||||
result.append((language.id, language.name))
|
result.append((language.id, language.name))
|
||||||
|
|
Loading…
Add table
Reference in a new issue