未验证 提交 738a6102 编写于 作者: K KubeSphere CI Bot 提交者: GitHub

Merge pull request #2045 from wansir/dev

fuzzy matching name by default
......@@ -67,7 +67,7 @@ func (h *Handler) fallback(resourceType string, namespace string, q *query.Query
for field, value := range q.Filters {
switch field {
case query.FieldName:
conditions.Match[v1alpha2.Name] = string(value)
conditions.Fuzzy[v1alpha2.Name] = string(value)
break
case query.FieldCreationTimeStamp:
conditions.Match[v1alpha2.CreateTime] = string(value)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册