aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV.Krishn <vkrishn4@gmail.com>2016-06-28 12:08:21 +0530
committerV.Krishn <vkrishn4@gmail.com>2016-06-28 12:08:21 +0530
commit989e484b5e3d29b9eb156518e6d8c65f704be805 (patch)
tree67a8e38eacf8755223f0ae7d85879c37b6551a85
parent739a483d796fc488d1740a82160a6a857fd4cfd9 (diff)
downloadaport-api-989e484b5e3d29b9eb156518e6d8c65f704be805.tar.bz2
enable filter page in &page=
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 12c5df3..dbc2bd3 100644
--- a/index.php
+++ b/index.php
@@ -282,7 +282,8 @@ function set_search_row($f=array(), $app) {
function get2filter($f=array()) {
$_k = array('category', 'branch', 'repo', 'arch',
- 'name', 'maintainer', 'flagged', 'sort', 'row');
+ 'name', 'maintainer', 'flagged', 'sort',
+ 'page', 'row');
foreach($_k as $v) {
if(array_key_exists($v, $_GET)) $f[$v] = mb_substr($_GET[$v], 0, 56);
}