* Fix testcase create error and project story lang.

This commit is contained in:
Yagami
2020-11-26 09:21:25 +08:00
parent 47c46cefe9
commit 4e502a8df0
10 changed files with 106 additions and 94 deletions
+6 -1
View File
@@ -1556,7 +1556,12 @@ class projectModel extends model
}
/* Build search form. */
if($type == 'projectStory') $this->config->product->search['module'] = 'projectStory';
if($type == 'projectStory')
{
$this->config->product->search['module'] = 'projectStory';
}
$this->config->product->search['fields']['title'] = str_replace($this->lang->productSRCommon, $this->lang->projectSRCommon, $this->lang->story->title);
$this->config->product->search['actionURL'] = $actionURL;
$this->config->product->search['queryID'] = $queryID;
$this->config->product->search['params']['product']['values'] = $productPairs + array('all' => $this->lang->product->allProductsOfProject);