diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pkginfo.php | 2 |
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); |