diff --git a/module/action/model.php b/module/action/model.php index 70d9c20111..d192cd6c49 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -611,6 +611,7 @@ class actionModel extends model ->beginIF($this->config->global->flow == 'onlyTask')->andWhere('objectType')->notin('product,productplan,release,story,testcase,testreport,testsuite')->fi() ->beginIF($this->config->global->flow == 'onlyTest')->andWhere('objectType')->notin('project,productplan,release,story,task')->fi() ->orderBy($orderBy) + ->beginIF(!$pager)->limit(30)->fi() ->page($pager) ->fetchAll(); diff --git a/module/project/model.php b/module/project/model.php index bf6c9d5d49..9a1c6717b9 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -421,6 +421,7 @@ class projectModel extends model { if(!empty($value) and !isset($team[$value])) { + $member = new stdclass(); $member->root = (int)$projectID; $member->account = $value; $member->join = helper::today(); diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 9666f84b70..5b97da6b99 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -13,3 +13,4 @@ #noticeBox .alert {box-shadow: rgba(0,0,0,.15) 0 0.15rem 0.5rem, rgba(0,0,0,.25) 0 0.15rem 0.5rem;} .table.has-sort-head thead>tr>th>a.sort-down, .table.has-sort-head thead>tr>th>a.sort-up, .table.has-sort-head thead>tr>th>a:hover{color:#000;text-decoration: none;font-weight:bold} .table.has-sort-head thead>tr>th>a.sort-down:after,.table.has-sort-head thead>tr>th>a.sort-up:before,.table.has-sort-head thead>tr>th>a:hover:after,.table.has-sort-head thead>tr>th>a:hover:before{color:#000} +.main-header>h2{font-size: 14px;}