It looks like the search ignores the "Search in specific boards" option. It always searchs in all boards.
Search ignores specific boards
« on August 3rd, 2014, 10:06 PM »Last edited on August 3rd, 2014, 11:24 PM
// Did the user provide a scope preference?
if (isset($_REQUEST['search_type']))
{
// Topic: do nothing, board: erase any topic IDs, everywhere: erase any options.
if ($_REQUEST['search_type'] == 'board')
unset($_REQUEST['topic']);
elseif ($_REQUEST['search_type'] == 'tree' && !empty($_REQUEST['brd']))
{
unset($_REQUEST['topic']);
loadSource('Subs-Boards');
$_REQUEST['brd'] = getBoardChildren($_REQUEST['brd']);
}
elseif ($_REQUEST['search_type'] == 'everywhere')
unset($_REQUEST['topic'], $_REQUEST['brd']);
}
else
unset($_REQUEST['topic'], $_REQUEST['brd']);
if(isset($_REQUEST['brd']) and !isset($_REQUEST['search_type'])){
$_REQUEST['search_type'] = 'board';
}
// Did the user provide a scope preference?