Skip to content

Instantly share code, notes, and snippets.

@chrisronline
Created October 16, 2013 13:48
Show Gist options
  • Save chrisronline/7008025 to your computer and use it in GitHub Desktop.
Save chrisronline/7008025 to your computer and use it in GitHub Desktop.
Index: drupal/sites/all/modules/entityreference/entityreference.module
===================================================================
--- drupal/sites/all/modules/entityreference/entityreference.module (revision 2163)
+++ drupal/sites/all/modules/entityreference/entityreference.module (working copy)
@@ -1030,7 +1030,7 @@
if (isset($tag_last)) {
// Get an array of matching entities.
- $entity_labels = $handler->getReferencableEntities($tag_last, $instance['widget']['settings']['match_operator'], 10);
+ $entity_labels = $handler->getReferencableEntities($tag_last, $instance['widget']['settings']['match_operator'], 20);
// Loop through the products and convert them into autocomplete output.
foreach ($entity_labels as $values) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment