The website I was working on seemed to ignore what template I set for the SEARCH-function.
I just discovered that this is commented out in /search/index.php:
// Find out what the search template is
/*
$query_template = $database->query("SELECT `value` FROM `".TABLE_PREFIX."search` WHERE `name` = 'template'");
$fetch_template = $query_template->fetchRow(MYSQLI_ASSOC);
$template = ($fetch_template['value'] ?: DEFAULT_TEMPLATE);
if ($template != '') {
// define('TEMPLATE', $template);
}
unset($template);
*/
This of course causes WB to complete ignore what you define in the settings for a Search-template. Why is that commented out?