* get dynamic of latest 3 days.
This commit is contained in:
@@ -41,11 +41,11 @@ class my extends control
|
||||
|
||||
/* Set the dynamic pager. */
|
||||
$this->app->loadClass('pager', true);
|
||||
$pager = new pager(0, $this->config->my->dynamicCounts);
|
||||
$pager = new pager($recTotal = 1000, $this->config->my->dynamicCounts); // Init the $recTotal var, thus omit one sql query.
|
||||
|
||||
$this->view->projectStats = $projectStats;
|
||||
$this->view->productStats = $productStats;
|
||||
$this->view->actions = $this->loadModel('action')->getDynamic('all', 'all', 'date_desc', $pager);
|
||||
$this->view->actions = $this->loadModel('action')->getDynamic('all', 'latest3days', 'date_desc', $pager);
|
||||
$this->view->todos = $this->loadModel('todo')->getList('all', $account, 'wait, doing', $this->config->my->todoCounts);
|
||||
$this->view->tasks = $this->loadModel('task')->getUserTasks($account, 'assignedTo', $this->config->my->taskCounts);
|
||||
$this->view->bugs = $this->loadModel('bug')->getUserBugPairs($account, false, $this->config->my->bugCounts);
|
||||
|
||||
Reference in New Issue
Block a user