Browse Source

increase number of results for autocomplete searchapi

Bachir Soussi Chiadmi 11 years ago
parent
commit
2b45f07449
1 changed files with 1 additions and 1 deletions
  1. 1 1
      materio_search_api.pages.inc

+ 1 - 1
materio_search_api.pages.inc

@@ -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);
 
         $delta++;
-        if($delta > 7)
+        if($delta > 15)
           break;
       }  
       drupal_json_output($term_matches);