You are here

function term_search_search_reset in Term Search 7

Implements hook_search_reset().

Sets all terms to be reindexed.

File

./term_search.module, line 212
Functions to index and search taxonomy terms.

Code

function term_search_search_reset() {
  db_update('search_dataset')
    ->condition('type', 'term')
    ->fields(array(
    'reindex' => REQUEST_TIME,
  ))
    ->execute();
}