Merge branch 'sprint/174_xieqiyu_45080' into 'master'

Sprint/174 xieqiyu 45080

See merge request easycorp/zentaopms!644
This commit is contained in:
孙广明
2021-11-29 06:58:17 +00:00
7 changed files with 43 additions and 30 deletions

View File

@@ -2499,7 +2499,7 @@ class bugModel extends model
}
$allBranch = "`branch` = 'all'";
if($branch !== 'all' and strpos($bugQuery, '`branch` =') === false) $bugQuery .= " AND `branch` in('$branch')";
if($branch !== 'all' and strpos($bugQuery, '`branch` =') === false) $bugQuery .= " AND `branch` in('0','$branch')";
if(strpos($bugQuery, $allBranch) !== false) $bugQuery = str_replace($allBranch, '1', $bugQuery);
$allProject = "`project` = 'all'";