浏览代码

AMBARI-6205. Hosts: host health filter is broken. (Buzhor Denys via akovalenko)

Aleksandr Kovalenko 11 年之前
父节点
当前提交
9aae43f09b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ambari-web/app/controllers/main/host.js

+ 1 - 1
ambari-web/app/controllers/main/host.js

@@ -240,7 +240,7 @@ App.MainHostController = Em.ArrayController.extend({
           value: filter.value,
           type: property.type
         };
-        if (filter.type === 'string') {
+        if (filter.type === 'string' && sortProperties.someProperty('key', colPropAssoc[filter.iColumn])) {
           result.value = this.getRegExp(filter.value);
         }
         if (filter.type === 'number' || filter.type === 'ambari-bandwidth') {