Skip to content

Commit 91731b9

Browse files
authored
Merge pull request #16 from topcoder-platform/integration-v5-challenge-api
Integration v5 challenge api
2 parents a635b03 + 6b60d2a commit 91731b9

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"tc-accounts": "git+https://github.com/appirio-tech/accounts-app.git#dev",
136136
"tc-core-library-js": "github:appirio-tech/tc-core-library-js#v2.6.3",
137137
"tc-ui": "^1.0.12",
138-
"topcoder-react-lib": "1000.19.8",
138+
"topcoder-react-lib": "1000.19.9",
139139
"topcoder-react-ui-kit": "^1.0.11",
140140
"topcoder-react-utils": "0.7.8",
141141
"turndown": "^4.0.2",

src/shared/actions/challenge-listing/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ const { getService } = services.challenge;
1414
const { getReviewOpportunitiesService } = services.reviewOpportunities;
1515

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

2421
/**
2522
* The maximum number of review opportunities to fetch in a single API call.

src/shared/utils/challenge-listing/buckets.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ const BUCKET_DATA = {
4848
filter: {
4949
registrationOpen: true,
5050
started: true,
51-
currentPhaseName: 'Registration',
5251
status: ['Active'],
5352
},
5453
hideCount: false,

0 commit comments

Comments
 (0)