admin: change default # of results from 10 to 20 #3115
Annotations
2 errors and 4 warnings
Run tests:
invenio_communities/administration/communities.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/administration/communities.py 2024-11-01 13:42:00.778133+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/administration/communities.py 2024-11-01 13:44:11.779076+00:00
@@ -83,11 +83,11 @@
initial_filters=[["status", "P"]],
hidden_params=[
["include_deleted", "1"],
],
pagination_options=(20, 50),
- default_size=20
+ default_size=20,
)
@staticmethod
def disabled():
"""Disable the view on demand."""
|
Run tests
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run eslint test:
invenio_communities/assets/semantic-ui/js/invenio_communities/administration/components/RecordResourceActions.js#L95
Array.prototype.map() expects a value to be returned at the end of arrow function
|
Run eslint test:
invenio_communities/assets/semantic-ui/js/invenio_communities/subcommunity/new.js#L148
Array.prototype.map() expects a return value from arrow function
|
Loading