* change the number of recPerPage for mobile.

This commit is contained in:
wangyidong
2013-07-05 02:03:26 +00:00
parent 968f81b49c
commit 2b38881864
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -79,6 +79,7 @@ class bug extends control
/* Load pager. */
$this->app->loadClass('pager', $static = true);
if($this->app->getViewType() == 'mhtml') $recPerPage = 10;
$pager = pager::init($recTotal, $recPerPage, $pageID);
$projects = $this->loadModel('project')->getPairs();