Repository: ambari Updated Branches: refs/heads/trunk 2bebb6e1e -> 4b2f1ab0c
AMBARI-7974 Config history versions diff wrong behavior. (atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/51fd8729 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/51fd8729 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/51fd8729 Branch: refs/heads/trunk Commit: 51fd872939439cb0f6e38a038d31ad4e9cb0ffad Parents: 2bebb6e Author: atkach <[email protected]> Authored: Mon Oct 27 13:45:46 2014 +0200 Committer: atkach <[email protected]> Committed: Mon Oct 27 17:03:44 2014 +0200 ---------------------------------------------------------------------- ambari-web/app/views/common/configs/services_config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/51fd8729/ambari-web/app/views/common/configs/services_config.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/configs/services_config.js b/ambari-web/app/views/common/configs/services_config.js index f70df1a..f8dae51 100644 --- a/ambari-web/app/views/common/configs/services_config.js +++ b/ambari-web/app/views/common/configs/services_config.js @@ -352,7 +352,7 @@ App.ServiceConfigsByCategoryView = Ember.View.extend(App.UserPref, { var selectedFilters = this.get('parentView.columns').filterProperty('selected'); var filteredResult = this.get('categoryConfigs') - if (this.get('state') === 'inDOM') { + if (selectedFilters.length > 0 || filter.length > 0 || this.get('state') === 'inDOM') { filteredResult = filteredResult.filter(function (config) { var passesFilters = true;
