From 6020944f41591bef272677a8679c21f4c36a261c Mon Sep 17 00:00:00 2001 From: Jacob Brown Date: Tue, 25 Nov 2025 13:50:57 -0700 Subject: [PATCH 1/2] refactor: set default search limit to 100 --- api/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/search.py b/api/search.py index 80c1d410d..14a4f22d9 100644 --- a/api/search.py +++ b/api/search.py @@ -175,7 +175,7 @@ async def search_api( user: viewer_dependency, session: session_dependency, q: str, - limit: int = 25, + limit: int = 100, ) -> CustomPage[dict]: """ Search endpoint for the collaborative network. From 5340b53dd0aba458bba96b3ec3fcead957723b30 Mon Sep 17 00:00:00 2001 From: Jacob Brown Date: Tue, 25 Nov 2025 13:56:38 -0700 Subject: [PATCH 2/2] fix: use size for pagination, not limit --- api/search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/search.py b/api/search.py index 14a4f22d9..7f8c3786b 100644 --- a/api/search.py +++ b/api/search.py @@ -175,7 +175,8 @@ async def search_api( user: viewer_dependency, session: session_dependency, q: str, - limit: int = 100, + size: int = 100, + limit: int = 25, ) -> CustomPage[dict]: """ Search endpoint for the collaborative network.