summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-23 10:57:13 +0100
committerErich Eckner <git@eckner.net>2018-03-23 10:57:13 +0100
commit865de4ebc3753e78cd1fe2083d213c364afe4000 (patch)
tree49cbb3f1af2ef9aee952664b90488fa0f4f37d76
parent3211e6e8de91e6cb462a1935032ffa209470f550 (diff)
downloadbuilder-865de4ebc3753e78cd1fe2083d213c364afe4000.tar.xz
web-scripts/blacklist.php: order by pkgbase
-rw-r--r--web-scripts/blacklist.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/web-scripts/blacklist.php b/web-scripts/blacklist.php
index 6ad46f4..c2810c6 100644
--- a/web-scripts/blacklist.php
+++ b/web-scripts/blacklist.php
@@ -17,7 +17,8 @@ if ( ! $result = $mysql -> query(
"FROM `build_assignments` " .
"JOIN `architectures` ON `build_assignments`.`architecture`=`architectures`.`id` " .
"JOIN `package_sources` ON `build_assignments`.`package_source`=`package_sources`.`id` " .
- "WHERE `build_assignments`.`is_black_listed` IS NOT NULL")) {
+ "WHERE `build_assignments`.`is_black_listed` IS NOT NULL " .
+ "ORDER BY `package_sources`.`pkgbase`")) {
die($mysql->error);
}
if ($result -> num_rows > 0) {