Skip to content
Snippets Groups Projects

Issue #3224491: Unlimited autocomplete suggestion list size always results with empty list

1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -91,7 +91,9 @@ class EntityAutocompleteMatcher {
];
}
}
$matches = array_slice($matches, 0, $match_limit, TRUE);
if ($match_limit >= 1) {
$matches = array_slice($matches, 0, $match_limit, TRUE);
}
$this->moduleHandler->alter('select2_autocomplete_matches', $matches, $options);
}
Loading