From 191cb906bc7f2bb3dacfc68351e035c5776c8866 Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Wed, 31 Jan 2024 10:21:54 +0800 Subject: [PATCH] * Keep defaultHours feild when filter metric field list. --- module/metric/zen.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/metric/zen.php b/module/metric/zen.php index 2227e34a1b..4c9f2cb49a 100644 --- a/module/metric/zen.php +++ b/module/metric/zen.php @@ -351,6 +351,8 @@ class metricZen extends metric $pureRow->$pureField = $row->$aliasField; } + if(isset($row->defaultHours)) $pureRow->defaultHours = $row->defaultHours; + return $pureRow; }