Browse Source

AMBARI-11326. Metric filter does not do a substring match. (jaimin)

Jaimin Jetly 10 years ago
parent
commit
004785dd81
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ambari-web/app/views/common/chosen_plugin.js

+ 1 - 0
ambari-web/app/views/common/chosen_plugin.js

@@ -37,6 +37,7 @@ App.JqueryChosenView = Em.View.extend({
     var self = this;
     var elementId = "#" + self.get("elementId");
     $(elementId).chosen({
+      search_contains: true,
       placeholder_text: self.get('selectionObj.placeholder_text'),
       no_results_text: self.get('selectionObj.no_results_text')
     }).change(self.get('selectionObj.onChangeCallback'));