Skip to content

Commit

Permalink
BAP-14981: Broken choice filter on grids (#12582)
Browse files Browse the repository at this point in the history
- fix 'undefined results property' JS error
  • Loading branch information
dnahrebecki authored and rhoman committed Aug 16, 2017
1 parent 8759622 commit 6593bd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ define(function(require) {
var select2element = this.$el.find(this.elementSelector);
var values = this.getDataForSelect2();

if (select2Config.data.results.length > 100) {
if (select2Config.ajax.results.length > 100) {
select2Config.minimumInputLength = 2;
}
select2element.removeClass('hide');
Expand Down

0 comments on commit 6593bd3

Please sign in to comment.