diff --git a/coffee/lib/abstract-chosen.coffee b/coffee/lib/abstract-chosen.coffee index e4a3c8d555f..cd0feddf81a 100644 --- a/coffee/lib/abstract-chosen.coffee +++ b/coffee/lib/abstract-chosen.coffee @@ -153,7 +153,7 @@ class AbstractChosen unless option.group and not @group_search - option.search_text = if option.group then option.label else option.html + option.search_text = if option.group then option.label else option.text option.search_match = this.search_string_match(option.search_text, regex) results += 1 if option.search_match and not option.group