From bf41cdedb3d0f00e68aeeac5795998fb4159d2ca Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 5 Dec 2014 01:37:42 +0000 Subject: [PATCH] * fix a bug. --- module/project/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index 14c5eefc53..d1d6010fc9 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -198,9 +198,9 @@ class project extends control $taskQuery = $this->search->replaceDynamic($taskQuery); $this->session->set('taskQueryCondition', $taskQuery); $this->session->set('taskOnlyCondition', true); - $this->session->set('taskOrderBy', $allProject); + $this->session->set('taskOrderBy', $sort); - $tasks = $this->project->getSearchTasks($taskQuery, $pager, $allProject); + $tasks = $this->project->getSearchTasks($taskQuery, $pager, $sort); } /* Build the search form. */