You are here

function activesearch_results_term in Javascript Tools 5

1 call to activesearch_results_term()
theme_activesearch_results in activesearch/activesearch.module

File

activesearch/activesearch.module, line 181

Code

function activesearch_results_term($tid, $keys) {

  // Do actual search query
  $result = db_query_range("SELECT * FROM temp_search_results r INNER JOIN {node} n ON r.sid = n.nid INNER JOIN {term_node} tn ON tn.nid = n.nid WHERE tn.tid = %d", $tid, 0, 10);
  return activesearch_results_items($result, $keys);
}