* [task#119241,done,1h,0] Compatible with duckdb of chart 1032.

This commit is contained in:
zhouxin
2024-06-05 13:44:17 +08:00
parent d74b447a14
commit 73eb47c657
+1 -1
View File
@@ -1263,7 +1263,7 @@ $config->bi->builtin->charts[] = array
'type' => 'waterpolo',
'group' => '44',
'sql' => <<<EOT
SELECT id, IF(`status`='closed' AND resolution='fixed', 'done', 'undone') AS bugstatus FROM zt_bug WHERE deleted='0' AND (status = 'active' OR resolution in ('fixed', 'postponed'))
select id, if("status"='closed' and resolution='fixed', 'done', 'undone') as bugstatus from zt_bug where deleted='0' and (status = 'active' or resolution in ('fixed', 'postponed'))
EOT,
'settings' => array
(