Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages/index.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-18 22:08:31 +0100
committerErich Eckner <git@eckner.net>2019-02-18 22:08:31 +0100
commitd03b6d89fa151b0f486938565f53f8c1f751db6a (patch)
tree1de7042567e970402d234cd3d6d9aa7cf6d2f0bd /packages/index.php
parent28f074140370a8c2a11b995271e4c135b2cc1c7f (diff)
lib/style.php: package_listing_query_order_by() is now integrated in query_package_listing()
Diffstat (limited to 'packages/index.php')
-rw-r--r--packages/index.php19
1 files changed, 9 insertions, 10 deletions
diff --git a/packages/index.php b/packages/index.php
index 35f0d26..b36142f 100644
--- a/packages/index.php
+++ b/packages/index.php
@@ -122,19 +122,19 @@ require_once BASE . "/lib/format.php";
$exact_matches = query_package_listing(
$extra_joins .
- $filter . $exact_filter .
- " ORDER BY " .
- "`binary_packages`.`pkgname`,`repositories`.`stability`,`repositories`.`name`,`architectures`.`name`",
+ $filter . $exact_filter,
+ '',
$float_columns,
+ false,
false
);
$num_results = query_package_listing(
- $extra_joins . $filter . $fuzzy_filter .
- " ORDER BY " . package_listing_query_order_by() .
- "`binary_packages`.`pkgname`,`repositories`.`stability`,`repositories`.`name`,`architectures`.`name`",
+ $extra_joins . $filter . $fuzzy_filter,
+ '',
array(),
+ true,
true
);
@@ -145,12 +145,11 @@ require_once BASE . "/lib/format.php";
$page = 1;
$fuzzy_matches = query_package_listing(
- $extra_joins . $filter . $fuzzy_filter .
- " ORDER BY " . package_listing_query_order_by() .
- "`binary_packages`.`pkgname`,`repositories`.`stability`,`repositories`.`name`,`architectures`.`name`" .
+ $extra_joins . $filter . $fuzzy_filter,
" LIMIT " . (($page-1)*100) . ", 100",
$float_columns,
- false
+ false,
+ true
);
function header_and_footer() {