* Append story module when change product type.

This commit is contained in:
xieqiyu
2022-02-28 17:50:06 +08:00
parent 5cd1872e93
commit af76bc5b46
5 changed files with 21 additions and 41 deletions

View File

@@ -2789,6 +2789,13 @@ class execution extends control
{
if(isset($linkedStories[$story->id])) unset($allStories[$id]);
if($story->parent < 0) unset($allStories[$id]);
if(!isset($modules[$story->module]))
{
$storyModule = $this->tree->getModulesName($story->module);
$productName = count($products) > 1 ? $products[$story->product]->name : '';
$modules[$story->module] = $productName . $storyModule[$story->module];
}
}
/* Pager. */