diff --git a/module/my/control.php b/module/my/control.php index 291ab22e78..6f609ed41b 100644 --- a/module/my/control.php +++ b/module/my/control.php @@ -197,7 +197,7 @@ class my extends control ->where('t2.deleted')->eq(0) ->andWhere('t1.deleted')->eq(0) ->andWhere('t1.assignedTo')->eq($this->app->user->account) - ->orderBy('t1.id_desc')->page($pager)->fetchAll(); + ->orderBy($orderBy)->page($pager)->fetchAll(); } elseif($type == 'openedbyme') { @@ -230,6 +230,10 @@ class my extends control $this->view->users = $this->user->getPairs('noletter'); $this->view->tabID = 'bug'; $this->view->type = $type; + $this->view->recTotal = $recTotal; + $this->view->recPerPage = $recPerPage; + $this->view->pageID = $pageID; + $this->view->orderBy = $orderBy; $this->view->pager = $pager; $this->display(); diff --git a/module/my/view/bug.html.php b/module/my/view/bug.html.php index 677cd376d8..2e9eaedd06 100644 --- a/module/my/view/bug.html.php +++ b/module/my/view/bug.html.php @@ -11,7 +11,6 @@ */ ?> -
| idAB;?> | -bug->severityAB;?> | -priAB;?> | -typeAB;?> | -bug->title;?> | -openedByAB;?> | -bug->resolvedByAB;?> | -bug->resolutionAB;?> | -actions;?> | +idAB);?> | +bug->severityAB);?> | +priAB);?> | +typeAB);?> | +bug->title);?> | +openedByAB);?> | +bug->resolvedByAB);?> | +bug->resolutionAB);?> | +actions;?> |
|---|