Duplicate a project with tasks will copy the new tasks in the same columns
This commit is contained in:
@@ -402,6 +402,18 @@ class Board extends Base
|
||||
return (int) $this->db->table(self::TABLE)->eq('project_id', $project_id)->eq('title', $title)->findOneColumn('id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a column title by the id
|
||||
*
|
||||
* @access public
|
||||
* @param integer $column_id
|
||||
* @return integer
|
||||
*/
|
||||
public function getColumnTitleById($column_id)
|
||||
{
|
||||
return $this->db->table(self::TABLE)->eq('id', $column_id)->findOneColumn('title');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the position of the last column for a given project
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user