From b47d680656a03775e0453678c7244e7050738a11 Mon Sep 17 00:00:00 2001 From: Rishabh Rawat Date: Wed, 14 Nov 2018 23:53:20 +0530 Subject: [PATCH] Display all issues with a given label. (#95) --- examples/embed.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/embed.html b/examples/embed.html index 787d5824..de46bc00 100644 --- a/examples/embed.html +++ b/examples/embed.html @@ -42,7 +42,7 @@ toolbox = CommunityToolbox(org, repo); if(repo==='all') { - toolbox.getIssuesForOrg(org, { qs: { labels: orgLabels }}) + toolbox.getIssuesForOrg(org, { qs: { labels: orgLabels, per_page: 100 }}) .then(function gotIssuesForOrg(orgIssuesObject) { let orgIssues = JSON.parse(orgIssuesObject).items; orgIssues.forEach(function mapToEachIssue(issue) { @@ -51,7 +51,7 @@ }); } else { toolbox.api.Issues - .getIssuesForRepo(org, repo, { qs: { labels: labels } }) + .getIssuesForRepo(org, repo, { qs: { labels: labels, per_page: 100 } }) .then(function(issues) { issues.forEach(function(issue) { toolbox.ui.insertIssue(issue, '.issues');