mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
#17596607 : added a feature managing issues (change milestone, component, and etc.)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5315 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dbe08ac9aa
commit
04f980fca4
14 changed files with 220 additions and 19 deletions
|
|
@ -452,6 +452,31 @@
|
|||
$this->setTemplateFile("top_refresh.html");
|
||||
}
|
||||
|
||||
function procIssuetrackerAdminManageCheckedIssue() {
|
||||
$module_srl = Context::get('module_srl');
|
||||
$cart = Context::get('cart');
|
||||
if($cart) $document_srl_list = explode('|@|', $cart);
|
||||
else $document_srl_list = array();
|
||||
|
||||
$document_srl_count = count($document_srl_list);
|
||||
$objs = Context::gets('priority_srl', 'component_srl', 'type_srl', 'milestone_srl');
|
||||
$oController = &getController('issuetracker');
|
||||
foreach($document_srl_list as $target_srl)
|
||||
{
|
||||
$output = $oController->insertHistory($target_srl, $objs, $module_srl, true);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
$_SESSION['document_management'] = array();
|
||||
|
||||
$this->setMessage('success_updated');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue