Repository: ambari Updated Branches: refs/heads/trunk 04cc6b59d -> 9aae43f09
AMBARI-6205. Hosts: host health filter is broken. (Buzhor Denys via akovalenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9aae43f0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9aae43f0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9aae43f0 Branch: refs/heads/trunk Commit: 9aae43f09bb70326cabe0a3e8c4cb081128600da Parents: 04cc6b5 Author: Aleksandr Kovalenko <akovale...@hortonworks.com> Authored: Thu Jun 19 14:26:34 2014 +0300 Committer: Aleksandr Kovalenko <akovale...@hortonworks.com> Committed: Thu Jun 19 14:26:34 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/main/host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9aae43f0/ambari-web/app/controllers/main/host.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/host.js b/ambari-web/app/controllers/main/host.js index f18ac50..f6ab34e 100644 --- a/ambari-web/app/controllers/main/host.js +++ b/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') {