From 607075b8d08ed8a8ef6dcf7c061643225048dfa4 Mon Sep 17 00:00:00 2001 From: sr_jr Date: Sun, 7 Jun 2020 14:49:53 +0530 Subject: [PATCH] fix for issue #4375 & #4376 --- src/shared/actions/challenge-listing/index.js | 7 ++----- src/shared/utils/challenge-listing/buckets.js | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/shared/actions/challenge-listing/index.js b/src/shared/actions/challenge-listing/index.js index 080f77250b..8b9b7530d0 100644 --- a/src/shared/actions/challenge-listing/index.js +++ b/src/shared/actions/challenge-listing/index.js @@ -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. diff --git a/src/shared/utils/challenge-listing/buckets.js b/src/shared/utils/challenge-listing/buckets.js index 1e73e28d7f..990099c0a3 100644 --- a/src/shared/utils/challenge-listing/buckets.js +++ b/src/shared/utils/challenge-listing/buckets.js @@ -48,7 +48,6 @@ const BUCKET_DATA = { filter: { registrationOpen: true, started: true, - currentPhaseName: 'Registration', status: ['Active'], }, hideCount: false,