Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster')
-rw-r--r--buildmaster/build-list.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php
index 6d42b69..793a31a 100644
--- a/buildmaster/build-list.php
+++ b/buildmaster/build-list.php
@@ -116,6 +116,7 @@ $columns = array(
"mysql_name" => "dependending_blocked",
"mysql_query" => "IFNULL(`ba_q`.`currently_blocking`,0)",
"sort" => "blocks",
+ "sort_reverse" => true,
"title" => "number of dependending build orders on the build-list"
),
"arch" => array(
@@ -255,6 +256,8 @@ if (substr($_GET["sort"],0,1) == "-") {
if (isset($columns[$sort]))
$order = "IFNULL(" . $columns[$sort]["mysql_name"] . ",0) " . $direction . ",";
+ if (array_key_exists("sort_reverse", $columns[$sort]))
+ $order = "-" . $order;
else
$order = "";