com web/qa: Sort by newest build first: list_builds.php
| From: | Matt Ficken | Date: | Fri, 06 Jun 2014 05:47:29 +0000 |
| Subject: | com web/qa: Sort by newest build first: list_builds.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-67336@lists.php.net to get a copy of this message | ||
Commit: 8299fb4933746efe5b604788b12c740f70cbacfd
Author: v-mafick@microsoft.com <v-mafick@microsoft.com> Thu, 5 Jun 2014 22:47:29
-0700
Parents: e4b923d529f4b6572fb9de97845947ae148a2ba1
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=8299fb4933746efe5b604788b12c740f70cbacfd
Log:
Sort by newest build first
Changed paths:
M list_builds.php
Diff:
diff --git a/list_builds.php b/list_builds.php
index 060826c..a631a15 100755
--- a/list_builds.php
+++ b/list_builds.php
@@ -70,6 +70,8 @@ $red =
is_file(BASE_REPORT_DIR."/$branch/$latest_revision/FAIL_CRASH.txt");
<br/>
<table class="pftt">
<?php
+
+$revisions = array_reverse($revisions);
foreach ( $revisions as $revision ) {
$red = is_file(BASE_REPORT_DIR."/$branch/$revision/FAIL_CRASH.txt");
@@ -94,4 +96,4 @@ foreach ( $revisions as $revision ) {
common_footer();
-?>
\ No newline at end of file
+?>