aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
authorIan Gilfillan <ian@greenman.co.za>2016-07-19 19:24:50 +0000
committerIan Gilfillan <ian@greenman.co.za>2016-07-19 19:24:50 +0000
commite8a65561680b518e29bd96004ef132cdb1db913f (patch)
treee581f0a8b1479a92221ebe4e4a9d4f3cdeb201f6 /h-source/Application/Controllers
parent07eb5eccfd5260722ca74162e189c2bd5e8750a4 (diff)
Only allow active distributions to be added, increase visible issues
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r--h-source/Application/Controllers/IssuesController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/h-source/Application/Controllers/IssuesController.php b/h-source/Application/Controllers/IssuesController.php
index 9c7b799..6f7b74b 100644
--- a/h-source/Application/Controllers/IssuesController.php
+++ b/h-source/Application/Controllers/IssuesController.php
@@ -111,10 +111,10 @@ class IssuesController extends BaseController
$recordNumber = $this->m['IssuesModel']->rowNumber();
$page = $this->viewArgs['page'];
//set the limit clause
- $this->m['IssuesModel']->limit = $this->h['Pages']->getLimit($page,$recordNumber,20);
+ $this->m['IssuesModel']->limit = $this->h['Pages']->getLimit($page,$recordNumber,30);
$data['table'] = $this->m['IssuesModel']->select('issues.*,messages.message,count(*) as numb_mess')->send();
- $data['pageList'] = $this->h['Pages']->render($page-3,7);
+ $data['pageList'] = $this->h['Pages']->render($page-4,10);
$this->append($data);
$this->load('viewall');
@@ -200,4 +200,4 @@ class IssuesController extends BaseController
}
}
-} \ No newline at end of file
+}