* Fix bug#34244.

This commit is contained in:
朱金勇
2023-04-17 07:52:08 +00:00
parent 93acd3cc77
commit ba3feadb9d
+5 -2
View File
@@ -4170,9 +4170,12 @@ class storyModel extends model
*/
public function getDataOfStorysPerModule()
{
$datas = $this->dao->select('module as name, count(module) as value, product, branch')->from(TABLE_STORY)
$datas = $this->dao->select('module as name, count(module) as value, product, branch')
->from(TABLE_STORY)
->where($this->reportCondition())
->groupBy('module')->orderBy('value DESC')->fetchAll('name');
->groupBy('module,product,branch')
->orderBy('value DESC')
->fetchAll('name');
if(!$datas) return array();
$branchIDList = array();