mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:42:22 +08:00
fix test for query generation
This commit is contained in:
@ -17,7 +17,7 @@ export default class PostgresQuery {
|
||||
target.metricColumn = target.metricColumn || 'none';
|
||||
|
||||
target.groupBy = target.groupBy || [];
|
||||
target.where = target.where || [{ type: 'macro', params: ['$__timeFilter'] }];
|
||||
target.where = target.where || [{ type: 'macro', name: '$__timeFilter', params: [] }];
|
||||
target.select = target.select || [[{ type: 'column', params: ['value'] }]];
|
||||
|
||||
// handle pre query gui panels gracefully
|
||||
|
Reference in New Issue
Block a user