From f5d8898e14758198a0ff0b065a2f3d9f477376b2 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 24 Sep 2020 14:28:38 -0700 Subject: [PATCH] Increase search limit to 1,000. --- frontends/etiquette_flask/backend/endpoints/photo_endpoints.py | 2 +- frontends/etiquette_flask/templates/search.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/etiquette_flask/backend/endpoints/photo_endpoints.py b/frontends/etiquette_flask/backend/endpoints/photo_endpoints.py index d088a9f..95247b4 100644 --- a/frontends/etiquette_flask/backend/endpoints/photo_endpoints.py +++ b/frontends/etiquette_flask/backend/endpoints/photo_endpoints.py @@ -335,7 +335,7 @@ def get_search_core(): if limit is None: limit = 50 else: - limit = min(limit, 200) + limit = min(limit, 1000) offset = request.args.get('offset') diff --git a/frontends/etiquette_flask/templates/search.html b/frontends/etiquette_flask/templates/search.html index e38ebbb..2db1047 100644 --- a/frontends/etiquette_flask/templates/search.html +++ b/frontends/etiquette_flask/templates/search.html @@ -273,7 +273,7 @@ name="author" placeholder="Author">