search history api

Categories

Component ID

2093155

Component name

search history api

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module provides an API to save searches from several search module. Modules that need to save searches can implements this in the right place:

$type = 'My search module';
$data = array(
  'path' => 'mysearch', // Base path to the search form.
  'path_options' => array('query' => $search_query), // search query.
  'description' => $search_string, // The search summary or description.
);
search_history_api_save($type, $data);

Features

  • Save searches
  • view search history in one page
  • relaunch searches without saving it again
  • Modify searches (Search are re-launched and modified when users search again)

Modules implementing search history API