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 != ?
|
||||
AND u.username LIKE ?
|
||||
ORDER BY u.username COLLATE NOCASE ASC
|
||||
LIMIT 20
|
||||
LIMIT 5
|
||||
""",
|
||||
(current_user.id, like_query),
|
||||
).fetchall()
|
||||
|
||||
Reference in New Issue
Block a user