diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-07-27 16:45:06 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-07-27 16:45:06 -0700 |
commit | 1952f59f9f283e0f0758657c250a9f7a786d3bdc (patch) | |
tree | 4b708d593b6617c2a479f66b6b7f3a231db02bc6 /fatcat_scholar/search.py | |
parent | c0e6ab2d70a56374aefb93643a76b833e22188c4 (diff) | |
download | fatcat-scholar-1952f59f9f283e0f0758657c250a9f7a786d3bdc.tar.gz fatcat-scholar-1952f59f9f283e0f0758657c250a9f7a786d3bdc.zip |
search: smaller default result set
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r-- | fatcat_scholar/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py index 1a543d9..c0e8189 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -223,7 +223,7 @@ def do_fulltext_search( raise ValueError(f"Unknown 'sort_order' parameter value: '{query.sort_order}'") # Sanity checks - limit = min((int(query.limit or 25), 100)) + limit = min((int(query.limit or 15), 100)) offset = max((int(query.offset or 0), 0)) if offset > deep_page_limit: # Avoid deep paging problem. |