* Fix bug 35631, and show requirement file in doc.
This commit is contained in:
@@ -1962,7 +1962,7 @@ class docModel extends model
|
||||
->beginIF($type == 'project' or $type == 'execution')
|
||||
->orWhere("(objectType = 'task' and objectID in ($taskIdList))")
|
||||
->orWhere("(objectType = 'build' and objectID in ($buildIdList))")
|
||||
->beginIF($storyIDList)->orWhere("(objectType = 'story' and objectID in ($storyIDList))")->fi()
|
||||
->beginIF($storyIDList)->orWhere("((objectType = 'story' OR objectType = 'requirement') and objectID in ($storyIDList))")->fi()
|
||||
->fi()
|
||||
->markRight(1)
|
||||
->beginIF($searchTitle !== false)->andWhere('title')->like("%{$searchTitle}%")->fi()
|
||||
|
||||
@@ -1954,6 +1954,7 @@ class executionModel extends model
|
||||
$parentList = array();
|
||||
foreach($executions as $key => $execution)
|
||||
{
|
||||
$execution->projectName = htmlspecialchars_decode($execution->projectName);
|
||||
$execution->productName = isset($productNameList[$execution->id]) ? $productNameList[$execution->id] : '';
|
||||
|
||||
/* Process the end time. */
|
||||
|
||||
Reference in New Issue
Block a user