add marks to terms coming from autocompletion
This commit is contained in:
parent
847eb41741
commit
8aabfe2592
@ -97,7 +97,7 @@ function materio_search_api_autocomplete_searchapi($typed = ''){
|
||||
//$term_matches[$item->tid] = check_plain($item->name);
|
||||
// $term_matches[check_plain($item->name)] = check_plain($item->name);
|
||||
// TODO: leave tags with nodes
|
||||
$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++;
|
||||
if($delta > 15)
|
||||
|
Loading…
x
Reference in New Issue
Block a user