summaryrefslogtreecommitdiffstats
path: root/web/html/pkgreq.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/pkgreq.php')
-rw-r--r--web/html/pkgreq.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/pkgreq.php b/web/html/pkgreq.php
index 674f1c19..4b7d6cff 100644
--- a/web/html/pkgreq.php
+++ b/web/html/pkgreq.php
@@ -14,9 +14,6 @@ if (!isset($base_id)) {
exit();
}
- $results = pkgreq_list();
- $total = count($results);
-
/* Sanitize paging variables. */
if (isset($_GET['O'])) {
$_GET['O'] = max(intval($_GET['O']), 0);
@@ -30,6 +27,9 @@ if (!isset($base_id)) {
$_GET["PP"] = 50;
}
+ $results = pkgreq_list($_GET['O'], $_GET['PP']);
+ $total = pkgreq_count();
+
/* Calculate the results to use. */
$first = $_GET['O'] + 1;