change user search limit from 20 to 5 (fix #7)
This commit is contained in:
@@ -181,7 +181,7 @@ def _friends_page_data(search_query: str = ""):
|
|||||||
WHERE u.id != ?
|
WHERE u.id != ?
|
||||||
AND u.username LIKE ?
|
AND u.username LIKE ?
|
||||||
ORDER BY u.username COLLATE NOCASE ASC
|
ORDER BY u.username COLLATE NOCASE ASC
|
||||||
LIMIT 20
|
LIMIT 5
|
||||||
""",
|
""",
|
||||||
(current_user.id, like_query),
|
(current_user.id, like_query),
|
||||||
).fetchall()
|
).fetchall()
|
||||||
|
|||||||
Reference in New Issue
Block a user