increase number of results for autocomplete searchapi
This commit is contained in:
parent
f47c978520
commit
2b45f07449
@ -100,7 +100,7 @@ function materio_search_api_autocomplete_searchapi($typed = ''){
|
|||||||
$term_matches[ trim(implode(' ', $adv_search_q[0]).' '.$last[1].$item->name)] = check_plain($item->name);
|
$term_matches[ trim(implode(' ', $adv_search_q[0]).' '.$last[1].$item->name)] = check_plain($item->name);
|
||||||
|
|
||||||
$delta++;
|
$delta++;
|
||||||
if($delta > 7)
|
if($delta > 15)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
drupal_json_output($term_matches);
|
drupal_json_output($term_matches);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user