Explorar el Código

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

Jaimin Jetly hace 10 años
padre
commit
004785dd81
Se han modificado 1 ficheros con 1 adiciones y 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'));