summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-14 13:13:13 +0200
committerErich Eckner <git@eckner.net>2018-04-14 13:13:13 +0200
commitc6b285c2b2b21a9c99412cf950e3f040059e0dff (patch)
treed99346df6191c79c73f1d2d86e761f877fd9039b
parent14649d9c2f14677952127a26dea086c0bd5acc3e (diff)
downloadarchweb32-c6b285c2b2b21a9c99412cf950e3f040059e0dff.tar.xz
packages/pkginfo.php: repair order of Required Bys
-rw-r--r--packages/pkginfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index b618d6f..39aa644 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -163,7 +163,7 @@
" AND `repository_stability_relations`.`more_stable`=" . $mysql_content["repo_stability"] .
" WHERE `install_target_providers`.`package`=" . $mysql_content["id"] .
" GROUP BY `binary_packages`.`id`,`dependency_types`.`id`" .
- " ORDER BY FIELD (`dependency_types`.`name`,\"run\",\"make\",\"check\",\"link\"), `install_targets`.`name`"
+ " ORDER BY FIELD (`dependency_types`.`name`,\"run\",\"make\",\"check\",\"link\"), `install_targets`.`name`!=`binary_packages`.`pkgname`, `install_targets`.`name`, `binary_packages`.`pkgname`"
))
die_500("Query failed: " . $mysql->error);