com web/bugs: Remove ascending ordering of GitHub PRs: templates/addghpull.php
| From: | Philip Olson | Date: | Tue, 27 Feb 2018 02:06:23 +0000 |
| Subject: | com web/bugs: Remove ascending ordering of GitHub PRs: templates/addghpull.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27025@lists.php.net to get a copy of this message | ||
Commit: e4147839b4f394352da3a8cd8fb49875426b00db
Author: Gabriel Caruso <carusogabriel34@gmail.com> Mon, 26 Feb 2018 23:06:23 -0300
Committer: GitHub <noreply@github.com> Mon, 26 Feb 2018 23:06:23 -0300
Parents: d5b95f1d207d06fc06379f1c00f5dbb387d54787
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=e4147839b4f394352da3a8cd8fb49875426b00db
Log:
Remove ascending ordering of GitHub PRs
Changed paths:
M templates/addghpull.php
Diff:
diff --git a/templates/addghpull.php b/templates/addghpull.php
index d60eb2e..22d3d5b 100644
--- a/templates/addghpull.php
+++ b/templates/addghpull.php
@@ -148,9 +148,6 @@ $(document).ready(function() {
var url = baseurl + 'repos/' + org + '/' + repo +
'/pulls?per_page=' + MAX_PER_PAGE;
recursiveFetch(url, [], function(items) {
- items.sort(function (a, b) {
- return a.number - b.number;
- });
items.map(function(item) {
$("#pull_id_field").append("<option value=" + (item.number + 0) +
">" + item.number + " - " + item.title + "</option>");
});