Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-14 11:49:57 +0200
committerErich Eckner <git@eckner.net>2018-04-14 11:49:57 +0200
commitb0e10737095a358ba1f590687b56eff973f57523 (patch)
tree2f2c79e65bda507f0c5873f2450152878e88190a /packages
parent6125462ce8806cd11f0da906d274e2cc93799163 (diff)
packages/pkginfo.php: order by install_target after dependency_type
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 551a71f..a452eea 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -98,7 +98,7 @@
") ON `install_target_providers`.`install_target`=`dependencies`.`depending_on`" .
" WHERE `dependencies`.`dependent`=" . $mysql_content["id"] .
" GROUP BY `install_targets`.`id`" .
- " ORDER BY FIELD (`dependency_types`.`name`,\"run\",\"make\",\"check\",\"link\")"
+ " ORDER BY FIELD (`dependency_types`.`name`,\"run\",\"make\",\"check\",\"link\"), `install_targets`.`name`"
))
die_500("Query failed: " . $mysql->error);
@@ -159,7 +159,7 @@
" AND `repository_stability_relations`.`more_stable`=" . $mysql_content["repo_stability"] .
" WHERE `install_target_providers`.`package`=" . $mysql_content["id"] .
" GROUP BY `binary_packages`.`id`" .
- " ORDER BY FIELD (`dependency_types`.`name`,\"run\",\"make\",\"check\",\"link\")"
+ " ORDER BY FIELD (`dependency_types`.`name`,\"run\",\"make\",\"check\",\"link\"), `install_targets`.`name`"
))
die_500("Query failed: " . $mysql->error);