function search_api_sorts_update_7204 in Search API sorts 7
Add default sort no terms to the sort table.
File
- ./
search_api_sorts.install, line 158 - Install, update, and uninstall functions for the Search API sorts module.
Code
function search_api_sorts_update_7204() {
db_add_field('search_api_sort', 'default_sort_no_terms', array(
'description' => 'A flag indicating whether the sort is the default sort for the index when there are no search terms present.',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
));
}