Browse Source

ajax autocomplete fixe

Bachir Soussi Chiadmi 8 years ago
parent
commit
0fdb4abd71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sites/all/modules/gui/materiobasemod/materio_search_api.pages.inc

+ 1 - 1
sites/all/modules/gui/materiobasemod/materio_search_api.pages.inc

@@ -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++;