Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 01454ee

Browse files
update search to do up to 10000 answers
1 parent e602c98 commit 01454ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/VoteLeaderboardSearch.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export default {
169169
const requestIndex = this.requestIndex;
170170
const searchText = this.searchText;
171171
try {
172-
const results = await voting.search(this.searchText, 1, 2000);
172+
const results = await voting.search(this.searchText, 1, 10000);
173173
if (
174174
this.searchText === searchText &&
175175
this.requestIndex === requestIndex
@@ -194,7 +194,7 @@ export default {
194194
async loadPage() {
195195
this.requestCount++;
196196
try {
197-
const results = await voting.getBallot(1, 2000);
197+
const results = await voting.getBallot(1, 10000);
198198
await this.setResult(results);
199199
} catch (err) {
200200
if (err.status === 404) {

0 commit comments

Comments
 (0)