Skip to content

Commit

Permalink
admin: change default # of results from 10 to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack authored and ntarocco committed Nov 1, 2024
1 parent 2998dfb commit 428ea1e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions invenio_app_rdm/administration/records/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def init_search_config(self):
["expand", "1"],
["include_deleted", "1"],
],
page=1,
size=30,
pagination_options=(20, 50),
default_size=20,
)


Expand Down Expand Up @@ -151,6 +151,6 @@ def init_search_config(self):
["is_published", False],
["include_deleted", "1"],
],
page=1,
size=30,
pagination_options=(20, 50),
default_size=20,
)
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def init_search_config(self):
["expand", "1"],
["type", UserModerationRequest.type_id],
],
page=1,
size=15,
pagination_options=(20, 50),
default_size=20,
)


Expand Down
4 changes: 2 additions & 2 deletions invenio_app_rdm/administration/users/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def init_search_config(self):
headers=self.get_search_request_headers(),
initial_filters=[["is_active", 1]],
hidden_params=[],
page=1,
size=15,
pagination_options=(20, 50),
default_size=20,
)


Expand Down

0 comments on commit 428ea1e

Please sign in to comment.