index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/index.php | 22 |
diff --git a/packages/index.php b/packages/index.php index e062cce..211bc3c 100644 --- a/packages/index.php +++ b/packages/index.php @@ -189,28 +189,6 @@ require_once BASE . "/lib/format.php"; true ); - $query = " FROM `binary_packages`" . - mysql_join_binary_packages_architectures() . - mysql_join_binary_packages_binary_packages_in_repositories() . - mysql_join_binary_packages_in_repositories_repositories() . - " AND `repositories`.`is_on_master_mirror`" . - mysql_join_repositories_architectures("","r_a") . - mysql_join_binary_packages_build_assignments() . - mysql_join_build_assignments_package_sources() . - $extra_joins . - $filter . $fuzzy_filter . - " ORDER BY "; - - if (array_key_exists("sort", $_GET)) { - if (isset($sorts[$_GET["sort"]]["mysql"])) - $query .= $sorts[$_GET["sort"]]["mysql"] . ","; - elseif (isset($sorts[substr($_GET["sort"],1)]["mysql"])) - $query .= $sorts[substr($_GET["sort"],1)]["mysql"] . " DESC,"; - } - - $query .= "`binary_packages`.`pkgname`,`repositories`.`stability`,`repositories`.`name`,`architectures`.`name`"; - - $pages = max(ceil($num_results / 100), 1); if (array_key_exists("page", $_GET)) $page = max(min($_GET["page"]+0, $pages),1); |