Skip to content

Commit

Permalink
searchapp: reduce the pagination options to 10 and 20
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Oct 3, 2023
1 parent 53b1919 commit 3ebe119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions invenio_communities/searchapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def search_app_context():
available_facets=current_app.config["COMMUNITIES_FACETS"],
sort_options=current_app.config["COMMUNITIES_SORT_OPTIONS"],
headers={"Accept": "application/vnd.inveniordm.v1+json"},
pagination_options=(10, 20),
endpoint="/api/communities",
),
"search_app_communities_requests_config": partial(
Expand Down

0 comments on commit 3ebe119

Please sign in to comment.