* Fix kanban error.
This commit is contained in:
@@ -916,7 +916,7 @@ class bug extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function edit($bugID, $comment = false, $kanbanGroup = '')
|
||||
public function edit($bugID, $comment = false, $kanbanGroup = 'default')
|
||||
{
|
||||
if(!empty($_POST))
|
||||
{
|
||||
@@ -1351,7 +1351,7 @@ class bug extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function assignTo($bugID, $kanbanGroup = '')
|
||||
public function assignTo($bugID, $kanbanGroup = 'default')
|
||||
{
|
||||
$bug = $this->bug->getById($bugID);
|
||||
$this->bug->checkBugExecutionPriv($bug);
|
||||
|
||||
@@ -827,7 +827,7 @@ class kanbanModel extends model
|
||||
*/
|
||||
public function getRDKanban($executionID, $browseType = 'all', $orderBy = 'id_desc', $regionID = 0, $groupBy = 'default', $searchValue = '')
|
||||
{
|
||||
if($groupBy != 'default') return $this->getKanban4Group($executionID, $browseType, $groupBy, $searchValue);
|
||||
if($groupBy != 'default' and $groupBy != '') return $this->getKanban4Group($executionID, $browseType, $groupBy, $searchValue);
|
||||
|
||||
$kanbanData = array();
|
||||
$actions = array('sortGroup');
|
||||
|
||||
@@ -662,7 +662,7 @@ class story extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function edit($storyID, $kanbanGroup = '')
|
||||
public function edit($storyID, $kanbanGroup = 'default')
|
||||
{
|
||||
if(!empty($_POST))
|
||||
{
|
||||
@@ -1701,7 +1701,7 @@ class story extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function assignTo($storyID, $kanbanGroup = '')
|
||||
public function assignTo($storyID, $kanbanGroup = 'default')
|
||||
{
|
||||
if(!empty($_POST))
|
||||
{
|
||||
|
||||
@@ -470,7 +470,7 @@ class task extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function edit($taskID, $comment = false, $kanbanGroup = '')
|
||||
public function edit($taskID, $comment = false, $kanbanGroup = 'default')
|
||||
{
|
||||
$this->commonAction($taskID);
|
||||
$task = $this->task->getById($taskID);
|
||||
@@ -712,7 +712,7 @@ class task extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function assignTo($executionID, $taskID, $kanbanGroup = '')
|
||||
public function assignTo($executionID, $taskID, $kanbanGroup = 'default')
|
||||
{
|
||||
$this->commonAction($taskID);
|
||||
$task = $this->task->getByID($taskID);
|
||||
@@ -2110,7 +2110,7 @@ class task extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function editTeam($executionID, $task, $kanbanGroup = '')
|
||||
public function editTeam($executionID, $task, $kanbanGroup = 'default')
|
||||
{
|
||||
$taskID = $task->id;
|
||||
$this->commonAction($taskID);
|
||||
|
||||
Reference in New Issue
Block a user