* Fix metric filter.

This commit is contained in:
qixinzhi
2024-01-10 17:19:12 +08:00
parent 5931911000
commit 9fce0b01ef
+2 -1
View File
@@ -1488,8 +1488,9 @@ class metricModel extends model
$type = array();
$dateType = $this->getDateTypeByCode($code);
$type[] = $scope == 'system' ? 'system' : 'scope';
if($scope != 'system') $type[] = 'scope';
if($dateType != 'nodate') $type[] = 'date';
if(empty($type)) $type[] = 'system';
return implode('-', $type);
}