* Code for bug export.

This commit is contained in:
tanghucheng
2022-07-25 09:23:26 +08:00
parent 2eacd5271e
commit 96cef1ccfc
5 changed files with 206 additions and 271 deletions
+4 -4
View File
@@ -2291,10 +2291,10 @@ class bug extends control
{
if($_POST)
{
$this->loadModel('file');
$this->loadModel('branch');
$this->fetch('port', 'export', 'model=bug&params=productID=' . $productID . ',executionID=' . $executionID);
$this->loadModel('port');
$this->session->set('bugPortParams', array('productID' => $productID, 'executionID' => $executionID));
$this->port->export('bug');
$this->fetch('file', 'export2' . $_POST['fileType'], $_POST);
}
$fileName = $this->lang->bug->common;