Prechádzať zdrojové kódy

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

Aleksandr Kovalenko 11 rokov pred
rodič
commit
9aae43f09b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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,
           value: filter.value,
           type: property.type
           type: property.type
         };
         };
-        if (filter.type === 'string') {
+        if (filter.type === 'string' && sortProperties.someProperty('key', colPropAssoc[filter.iColumn])) {
           result.value = this.getRegExp(filter.value);
           result.value = this.getRegExp(filter.value);
         }
         }
         if (filter.type === 'number' || filter.type === 'ambari-bandwidth') {
         if (filter.type === 'number' || filter.type === 'ambari-bandwidth') {