com web/qa: increase the per_page limit from the defa ult 30 to 100, until we implement som e pager mechanism for the repo listing(which re quires
passing the page param to the api call ): pulls/pullrequests.js
| From: | Ferenc Kovacs | Date: | Sat, 23 Feb 2013 14:17:29 +0000 |
| Subject: | com web/qa: increase the per_page limit from the defa ult 30 to 100, until we implement som e pager mechanism for the repo listing(which re quires passing the page param to the api call ): pulls/pullrequests.js |
||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66813@lists.php.net to get a copy of this message | ||
Commit: c208c4e6824ea0477b2f7435792e928f91c808a7
Author: Ferenc Kovacs <tyra3l@gmail.com> Sat, 23 Feb 2013 15:17:29 +0100
Parents: e218f5a9ced422e1ccb4db046d545d0e56b6f2a9
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=c208c4e6824ea0477b2f7435792e928f91c808a7
Log:
increase the per_page limit from the default 30 to 100, until we implement some pager mechanism for
the repo listing(which requires passing the page param to the api call)
Changed paths:
M pulls/pullrequests.js
Diff:
diff --git a/pulls/pullrequests.js b/pulls/pullrequests.js
index 0400396..822ae8d 100644
--- a/pulls/pullrequests.js
+++ b/pulls/pullrequests.js
@@ -1,5 +1,5 @@
function repoList(baseurl, org) {
- this.url = baseurl+'orgs/'+org+'/repos';
+ this.url = baseurl+'orgs/'+org+'/repos?per_page=100';
this.data = {data:[]};
var t = this;
$("#backToRepolist").click(function (ev) { $.bbq.removeState('repo');
ev.preventDefault();});