File tree Expand file tree Collapse file tree
lhc_web/modules/lhcron/stats Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public static function departmentStats($regenerate = false) {
109109 $ filterAART ['group ' ] = 'dep_id ' ;
110110 $ filterAART ['filterlt ' ]['wait_time ' ] = 600 ;
111111 $ filterAART ['filtergt ' ]['user_id ' ] = 0 ;
112- $ result ['aart ' ] = erLhcoreClassModelChat::getCount (
112+ $ result ['wt ' ] = erLhcoreClassModelChat::getCount (
113113 $ filterAART , // $params
114114 '' , // $operattion
115115 false , // $field
@@ -384,13 +384,13 @@ public static function operatorsStats($regenerate = false) {
384384 break ;
385385 case 'frt ' :
386386 $ filterAART = $ filter ;
387- $ filterAART ['group ' ] = 'dep_id ' ;
387+ $ filterAART ['group ' ] = 'user_id ' ;
388388 $ filterAART ['filtergt ' ]['frt ' ] = 0 ;
389389 $ result ['frt ' ] = \LiveHelperChat \Models \LHCAbstract \ChatParticipant::getCount (
390390 $ filterAART , // $params
391391 '' , // $operattion
392392 false , // $field
393- 'dep_id , AVG(frt) as frt ' , // $rawSelect
393+ 'user_id , AVG(frt) as frt ' , // $rawSelect
394394 false , // $fetchColumn
395395 true // $fetchAll
396396 );
You can’t perform that action at this time.
0 commit comments