Skip to content

fix for issue #4375 & #4376 #4486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/shared/actions/challenge-listing/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ const { getService } = services.challenge;
const { getReviewOpportunitiesService } = services.reviewOpportunities;

/**
* The maximum number of challenges to fetch in a single API call. Currently,
* the backend never returns more than 50 challenges, even when a higher limit
* was specified in the request. Thus, this constant should not be larger than
* 50 (otherwise the frontend code will miss to load some challenges).
* The maximum number of challenges to fetch in a single API call.
*/
const PAGE_SIZE = 50;
const PAGE_SIZE = 99;

/**
* The maximum number of review opportunities to fetch in a single API call.
Expand Down
1 change: 0 additions & 1 deletion src/shared/utils/challenge-listing/buckets.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const BUCKET_DATA = {
filter: {
registrationOpen: true,
started: true,
currentPhaseName: 'Registration',
status: ['Active'],
},
hideCount: false,
Expand Down