When activating the
Inline Entity Form: Commerce Customer profile to Autocomplete matching
at the Contact Address at field_customer_profiles (Entity Reference / Inline entity form - Multiple values)
only the first ten contact entries are visible searchable -
same bug happened to Red Hen - https://www.drupal.org/node/2085279 2 years ago
How to resolve this in Erpal platform?

Comments

ChoY’s picture

As far as I cold investigate the autocomplete matching limitation to the first entries is anyhow lnked to the to profiles/erpal_platform/modules/contrib/inline_entity_form/inline_entity_form.module code:
$entity_labels = $handler->getReferencableEntities($string, $controller->getSetting('match_operator'), 10);
see:
Line 41 ff function inline_entity_form_autocomplete
Line 62 ff

  elseif ($field['type'] == 'entityreference') {
    $handler = entityreference_get_selection_handler($field, $instance, $settings['entity_type']);
    $entity_labels = $handler->getReferencableEntities($string, $controller->getSetting('match_operator'), 10);

Something in this or related code lines limit the matching search to the first 10 entries .... of existing Commerce Customer profiles

AndrewsizZ’s picture

Hey Christof,
Not sure if this issue related to platform, but I will check how we can avoid this.

ChoY’s picture

The bug seems to be related to the inline_entity_form module, but this module is a contrib to the erpal_platform distribution - so it is as well a bug related to the erpal_platform ...

bechtold’s picture

Hey,
yes it is an issue for ERPAL since we use it. But the issue queue for IEF might be more suitable place to discuss this.

Is this your problem: #2231445: Autocomplete limits variations shown to 10 (issue for this module?)? Then they at least know about it.
But unfortunately it's not fixed yet, so we can join their discussion over there.

bechtold’s picture

Status: Needs work » Postponed (maintainer needs more info)

Any news here?