diff --git a/module/story/model.php b/module/story/model.php index 5cf8b3f3e1..68f00a9f5a 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -3623,6 +3623,7 @@ class storyModel extends model ->andWhere('status')->notin('closed,draft') ->andWhere('product')->eq($productID) ->andWhere('plan')->in('0,') + ->andWhere('siblings')->eq('') ->beginIF($append)->orWhere('id')->in($append)->fi() ->fetchPairs(); return array(0 => '') + $stories ; diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index 6e3f024204..9fa2c9db47 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -88,7 +88,7 @@ foreach(explode(',', $config->story->create->requiredFields) as $field)
- product->branch, $lang->product->branchName[$product->type])?> + product->branch, $lang->product->branchName[$product->type])?>
@@ -353,7 +353,7 @@ foreach(explode(',', $config->story->create->requiredFields) as $field)
- product->branch, $lang->product->branchName[$product->type])?> + product->branch, $lang->product->branchName[$product->type])?>