I get a problem with the autocomplete result in panels. It just not work to make the results visible. I found out that the resultset of the autocomplete request is empty. This code solves the problem. I just want to share and as a reminder :-) for me.

Put this in the apachesolr_autocomplete.module

/**
 * Implementation of hook_form_FORM_ID_alter().
 */
function apachesolr_autocomplete_form_apachesolr_panels_search_form_alter(&$form, $form_state) {
  if ($form['module']['#value'] == 'apachesolr_panels') {
    $element = &$form['basic']['inline']['keys'];
    apachesolr_autocomplete_do_alter($element);
  }
}

Comments

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.