From 7887986a5aa75aba331bb935cc38c931d5c3b03d Mon Sep 17 00:00:00 2001 From: tototomate123 Date: Fri, 27 Feb 2026 12:35:22 +0100 Subject: [PATCH] change user search limit from 20 to 5 (fix #7) --- app/routes/friends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/friends.py b/app/routes/friends.py index 27e9858..c5e9652 100644 --- a/app/routes/friends.py +++ b/app/routes/friends.py @@ -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()