ajax autocomplete fixe

This commit is contained in:
Bachir Soussi Chiadmi 2015-12-03 12:23:53 +01:00
parent 90be34eef1
commit 0fdb4abd71

View File

@ -100,7 +100,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
$itemname = t($item->name);
$itemname = $item->name;
$term_matches[trim(implode(' ', $adv_search_q[0]).' "'.$last[1].$itemname).'"'] = check_plain($itemname);
$delta++;