From c6b285c2b2b21a9c99412cf950e3f040059e0dff Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 14 Apr 2018 13:13:13 +0200 Subject: packages/pkginfo.php: repair order of Required Bys --- packages/pkginfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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); -- cgit v1.2.3-70-g09d2