You are here

function activesearch_results_node in Javascript Tools 5

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

File

activesearch/activesearch.module, line 175

Code

function activesearch_results_node($type, $keys) {

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