fix(mqe): only parse none empty functions

This commit is contained in:
bergquist
2016-12-15 08:52:43 +01:00
parent f907330c9e
commit 51c4385c92

View File

@@ -49,7 +49,9 @@ func (qp *QueryParser) Parse(model *simplejson.Json, dsInfo *models.DataSource,
return nil, err return nil, err
} }
functions = append(functions, f) if f.Func != "" {
functions = append(functions, f)
}
} }
query.FunctionList = functions query.FunctionList = functions