diff --git a/module/story/model.php b/module/story/model.php index 41ec97f02b..6a2c663f90 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -2690,7 +2690,7 @@ class storyModel extends model { $storyQuery = str_replace($allBranch, '1', $storyQuery); } - elseif($branch !== 'all') + elseif($branch !== 'all' and $queryProductID != 'all') { if($branch and strpos($storyQuery, '`branch` =') === false) $storyQuery .= " AND `branch` in($branch)"; }