search api autocomplet t() for transmlate term name
This commit is contained in:
@@ -100,7 +100,8 @@ 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);
|
||||
$itemname = t($item->name);
|
||||
$term_matches[trim(implode(' ', $adv_search_q[0]).' "'.$last[1].$itemname).'"'] = check_plain($itemname);
|
||||
|
||||
$delta++;
|
||||
if($delta > 15)
|
||||
|
Reference in New Issue
Block a user