Explorar o código

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

Jaimin Jetly %!s(int64=10) %!d(string=hai) anos
pai
achega
004785dd81
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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'));