diff --git a/module/block/control.php b/module/block/control.php index 9378ba0f6d..272a454181 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -1750,7 +1750,7 @@ class block extends control $today = helper::today(); $now = date('H:i:s', strtotime(helper::now())); - $meetings = $this->dao->select('*')->from(TABLE_MEETING) + $stmt = $this->dao->select('*')->from(TABLE_MEETING) ->Where('deleted')->eq('0') ->andWhere('(date')->gt($today) ->orWhere('(begin')->gt($now) @@ -1759,9 +1759,10 @@ class block extends control ->andwhere('(host')->eq($this->app->user->account) ->orWhere('participant')->in($this->app->user->account) ->markRight(1) - ->orderBy('id_desc') - ->beginIF(isset($params->meetingNum))->limit($params->meetingNum) - ->fetchAll(); + ->orderBy('id_desc'); + + if(isset($params->meetingNum)) $stmt->limit($params->meetingNum); + $meetings = $stmt->fetchAll(); $count['meeting'] = count($meetings); $this->view->meetings = $meetings; @@ -1832,6 +1833,8 @@ class block extends control /* Get projects. */ $this->app->loadLang('task'); + $this->app->loadLang('program'); + $this->app->loadLang('execution'); $this->view->projects = $this->loadModel('project')->getOverviewList('byStatus', $status, $orderBy, $count); } diff --git a/module/bug/css/edit.css b/module/bug/css/edit.css index 36613d69d7..7f63e63266 100644 --- a/module/bug/css/edit.css +++ b/module/bug/css/edit.css @@ -5,3 +5,4 @@ .chosen-choices li.search-choice {word-break: break-all;} #linkBugBox > li {margin-left: -56px;} #branch {width: 95px;} +#storyIdBox .chosen-auto-max-width {width: 215px !important;} diff --git a/module/group/view/privbygroup.html.php b/module/group/view/privbygroup.html.php index 66c6b83b16..f1b357891f 100644 --- a/module/group/view/privbygroup.html.php +++ b/module/group/view/privbygroup.html.php @@ -38,7 +38,7 @@
| task->estStarted;?> | -estStarted, "class='form-control form-date'");?> | +estStarted) ? '' : $task->estStarted, "class='form-control form-date'");?> |
|---|---|---|
| task->deadline;?> | -deadline, "class='form-control form-date'");?> | +deadline) ? '' : $task->deadline, "class='form-control form-date'");?> |
| task->estimate;?> | diff --git a/module/testtask/control.php b/module/testtask/control.php index 079e646c00..a7e2f92673 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -636,6 +636,7 @@ class testtask extends control $this->app->loadLang('execution'); $this->app->loadLang('task'); $this->session->set('caseList', $this->app->getURI(true), 'qa'); + setcookie('taskCaseModule', 0, 0, $this->config->webRoot, '', $this->config->cookieSecure, true); /* Get task and product info, set menu. */ $groupBy = empty($groupBy) ? 'story' : $groupBy; diff --git a/module/todo/control.php b/module/todo/control.php index 3e3201e198..8335be389d 100644 --- a/module/todo/control.php +++ b/module/todo/control.php @@ -345,7 +345,7 @@ class todo extends control } $this->view->todo = $this->todo->getById($todoID); - $this->view->members = $this->loadModel('user')->getPairs(); + $this->view->members = $this->loadModel('user')->getPairs('noclosed'); $this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta); $this->view->time = date::now(); $this->display();