Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 2842e2f7d -> d21fd8054


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/d21fd805
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d21fd805
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d21fd805

Branch: refs/heads/branch-1.7.0
Commit: d21fd80543f9c51fa8b7cb96d1aa535a01213184
Parents: 2842e2f
Author: atkach <[email protected]>
Authored: Mon Oct 27 13:44:03 2014 +0200
Committer: atkach <[email protected]>
Committed: Mon Oct 27 13:44:03 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/d21fd805/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 0ac4837..4b8d50d 100644
--- a/ambari-web/app/views/common/configs/services_config.js
+++ b/ambari-web/app/views/common/configs/services_config.js
@@ -353,7 +353,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;
 

Reply via email to