Commit:    e4147839b4f394352da3a8cd8fb49875426b00db
Author:    Gabriel Caruso <[email protected]>         Mon, 26 Feb 2018 
23:06:23 -0300
Committer: GitHub <[email protected]>      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>");
       });


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to